Skip to content

Commit ebbac61

Browse files
committed
Slim down symlink arrow
Fixes #74. There's one argument for changing the arrow, and none against!
1 parent 21ee2fb commit ebbac61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/output/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ fn symlink_filename(file: &File, colours: &Colours) -> String {
2828
match file.link_target() {
2929
Ok(target) => format!("{} {} {}",
3030
file_colour(colours, file).paint(&file.name),
31-
colours.punctuation.paint("=>"),
31+
colours.punctuation.paint("->"),
3232
ANSIStrings(&[ colours.symlink_path.paint(&target.path_prefix()),
3333
file_colour(colours, &target).paint(&target.name) ])),
3434

3535
Err(filename) => format!("{} {} {}",
3636
file_colour(colours, file).paint(&file.name),
37-
colours.broken_arrow.paint("=>"),
37+
colours.broken_arrow.paint("->"),
3838
colours.broken_filename.paint(&filename)),
3939
}
4040
}

0 commit comments

Comments
 (0)