2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 17:25:32 +00:00

Update src/fs/file.rs

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
John Nunley 2023-05-01 07:05:30 -07:00 committed by GitHub
parent dc7bb8e97d
commit c17710366b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()
}
}
}