mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-18 03:01:06 +00:00
init -> new (reverted in rust)
from_utf8_slice -> from_utf8
This commit is contained in:
parent
54774c2889
commit
2aa7e552f7
3 changed files with 6 additions and 6 deletions
|
|
@ -59,8 +59,8 @@ directory).", opts));
|
|||
|
||||
if !matches.free.is_empty() {
|
||||
for path in matches.free.iter() {
|
||||
let p = std::path::Path::init(path.clone());
|
||||
print(std::str::from_utf8_slice(p.dirname()));
|
||||
let p = std::path::Path::new(path.clone());
|
||||
print(std::str::from_utf8(p.dirname()));
|
||||
print(separator);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue