1
Fork 0
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:
Heather 2013-12-06 09:31:49 +04:00
parent 54774c2889
commit 2aa7e552f7
3 changed files with 6 additions and 6 deletions

View file

@ -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 {