src/plus.rs in faster_path-0.2.2 vs src/plus.rs in faster_path-0.2.3
- old
+ new
@@ -71,10 +71,10 @@
}
} else {
if r1 {
result = prefix1.to_string();
} else {
- result = dirname(&prefix1[..]);
+ result = dirname(&prefix1[..]).to_string();
}
}
String::from(result)
}