mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-14 16:34:06 +00:00
Clean
This commit is contained in:
parent
00f97a9738
commit
0ea8f17b22
@ -617,6 +617,6 @@ mod filename_test {
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn topmost() {
|
||||
assert_eq!("/", File::filename(Path::new("/")));
|
||||
assert_eq!("/", File::filename(Path::new("/")))
|
||||
}
|
||||
}
|
||||
|
@ -159,11 +159,13 @@ impl Column {
|
||||
_ => Alignment::Left,
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
pub fn alignment(&self) -> Alignment {
|
||||
match *self {
|
||||
Column::FileSize | Column::GitStatus => Alignment::Right,
|
||||
_ => Alignment::Left,
|
||||
match self {
|
||||
Self::FileSize |
|
||||
Self::GitStatus => Alignment::Right,
|
||||
_ => Alignment::Left,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user