Skip to content

Commit

Permalink
Merge pull request #350 from tbu-/pr_typo
Browse files Browse the repository at this point in the history
Fix two typos
  • Loading branch information
thepowersgang authored Dec 15, 2024
2 parents af1478d + ca30fda commit b3266f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit b3266f9

Please sign in to comment.