diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-28 10:35:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-28 10:36:53 +0200 |
| commit | 04bffc4f12ff7dd85d25f5fd65506440287f879c (patch) | |
| tree | 311a78d174f95c6e4733e3eb17a40f78744c3854 /src/util | |
| parent | 7b92bd7c340d9f9c094ed2fa57912049317d9b20 (diff) | |
Reintroduce `--root`
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs index 78c7bedf..05914b04 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -140,7 +140,6 @@ impl PathExt for Path { match component { Component::CurDir => {} Component::ParentDir => match out.components().next_back() { - Some(Component::RootDir) => {} Some(Component::Normal(_)) => { out.pop(); } |
