Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Nov 15, 2024
1 parent d5b1e26 commit 13b8252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ fn diff_file(
// a trailing newline, e.g. "foo\n\bar\n" versus "foo". We want to
// consider `foo` to be unchanged in this case.
//
// Theoretically a tree-sitter parser coud change its AST due to
// Theoretically a tree-sitter parser could change its AST due to
// the additional trailing newline, but it seems vanishingly
// unlikely.
if !lhs_src.is_empty() && !lhs_src.ends_with('\n') {
Expand Down

0 comments on commit 13b8252

Please sign in to comment.