Update src/fs/file.rs

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
pull/1036/head
John Nunley 1 year ago committed by GitHub
parent dc7bb8e97d
commit c17710366b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -461,7 +461,7 @@ cfg_unix! {
impl From<File> for OwnedFd {
fn from(val: File) -> OwnedFd {
self.into_std_file()
self.into_std_file().into()
}
}
}

Loading…
Cancel
Save