Skip to content

Commit e92e777

Browse files
authored
Update diff.rs (#4150)
1 parent 7194d52 commit e92e777

File tree

1 file changed

+1
-1
lines changed
  • rustfmt-core/rustfmt-lib/src/emitter

1 file changed

+1
-1
lines changed

rustfmt-core/rustfmt-lib/src/emitter/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl Emitter for DiffEmitter {
3333
} else {
3434
print_diff(
3535
mismatch,
36-
|line_num| format!("Diff in {} at line {}:", filename, line_num),
36+
|line_num| format!("Diff in {}:{}:", filename, line_num),
3737
&self.config,
3838
);
3939
}

0 commit comments

Comments
 (0)