mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-02 02:28:24 +00:00
Fix build
This commit is contained in:
parent
e3204a574e
commit
9881d00d00
@ -226,7 +226,7 @@ impl<'a, 'dir, C: Colours> FileName<'a, 'dir, C> {
|
|||||||
let coconut = parent.components().count();
|
let coconut = parent.components().count();
|
||||||
|
|
||||||
if coconut == 1 && parent.has_root() {
|
if coconut == 1 && parent.has_root() {
|
||||||
bits.push(self.colours.symlink_path().paint(String::from(std::path::MAIN_SEPARATOR)));
|
bits.push(self.colours.symlink_path().paint(std::path::MAIN_SEPARATOR.to_string()));
|
||||||
}
|
}
|
||||||
else if coconut >= 1 {
|
else if coconut >= 1 {
|
||||||
escape(
|
escape(
|
||||||
@ -235,7 +235,7 @@ impl<'a, 'dir, C: Colours> FileName<'a, 'dir, C> {
|
|||||||
self.colours.symlink_path(),
|
self.colours.symlink_path(),
|
||||||
self.colours.control_char(),
|
self.colours.control_char(),
|
||||||
);
|
);
|
||||||
bits.push(self.colours.symlink_path().paint(String::from(std::path::MAIN_SEPARATOR)));
|
bits.push(self.colours.symlink_path().paint(std::path::MAIN_SEPARATOR.to_string()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user