Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two typos #350

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hir/hir_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ bool ::HIR::TraitImpl::overlaps_with(const Crate& crate, const ::HIR::TraitImpl&
DEBUG("- Params mismatch");
return false;
}
// Matched with second ording
// Matched with second ordering
}
else if( this->m_trait_args.match_test_generics_fuzz(sp, other.m_trait_args, cb_ident, matcher) != ::HIR::Compare::Equal )
{
Expand Down
2 changes: 1 addition & 1 deletion src/parse/lex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Lexer::Lexer(const ::std::string& filename, AST::Edition edition, ParseState ps)
throw ::std::runtime_error("Incomplete BOM - missing \\xBB in second position");
}
if( this->getc_byte() != '\xbf' ) {
throw ::std::runtime_error("Incomplete BOM - missing \\xBF in second position");
throw ::std::runtime_error("Incomplete BOM - missing \\xBF in third position");
}
m_line_ofs = 0;
}
Expand Down
Loading