mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
realpath, relpath, tests: fix build on nightly
This commit is contained in:
parent
72b4629916
commit
e9f32fe170
3 changed files with 3 additions and 3 deletions
|
@ -211,7 +211,7 @@ impl AtPath {
|
|||
let mut unprefixed = PathBuf::new();
|
||||
for component in prefixed.components()
|
||||
.skip(self.subdir.components().count()) {
|
||||
unprefixed.push(component.as_ref().to_str().unwrap());
|
||||
unprefixed.push(component.as_os_str().to_str().unwrap());
|
||||
}
|
||||
unprefixed
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue