We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d5088 commit ef4dffbCopy full SHA for ef4dffb
src/fs/uhyve.rs
@@ -1,4 +1,3 @@
1
-use alloc::borrow::ToOwned;
2
use alloc::boxed::Box;
3
use alloc::ffi::CString;
4
use alloc::string::{String, ToString};
@@ -225,7 +224,7 @@ pub(crate) fn init() {
225
224
.unwrap()
226
.mount(
227
&mount_point,
228
- Box::new(UhyveDirectory::new(Some(mount_point.to_owned()))),
+ Box::new(UhyveDirectory::new(Some(mount_point.clone()))),
229
)
230
.expect("Mount failed. Duplicate mount_point?");
231
}
0 commit comments