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:
parent
dc7bb8e97d
commit
c17710366b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue