Format diff line to be easily clickable
Instead of {filename} at {line}, use {filename}:{line} as this is a
format that many editors allow to be clicked to navigate directly to the
line.
This commit is contained in:
parent
bf967319e2
commit
7f44a0825d
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ impl Emitter for DiffEmitter {
|
|||
} else {
|
||||
print_diff(
|
||||
mismatch,
|
||||
|line_num| format!("Diff in {} at line {}:", filename, line_num),
|
||||
|line_num| format!("Diff in {}:{}:", filename, line_num),
|
||||
&self.config,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue