Skip to content

Commit

Permalink
diff: fix typo in get_diff_stat() comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed Jul 9, 2024
1 parent 8148ce0 commit 36beff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/diff_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ fn get_diff_stat(
) -> DiffStat {
// TODO: this matches git's behavior, which is to count the number of newlines
// in the file. but that behavior seems unhelpful; no one really cares how
// many `0xa0` characters are in an image.
// many `0x0a` characters are in an image.
let diff = Diff::by_line(&[&left_content.contents, &right_content.contents]);
let mut added = 0;
let mut removed = 0;
Expand Down

0 comments on commit 36beff6

Please sign in to comment.