Skip to content

Commit

Permalink
Update src/fs/file.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
  • Loading branch information
notgull and joshtriplett committed May 1, 2023
1 parent dc7bb8e commit c177103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}
Expand Down

0 comments on commit c177103

Please sign in to comment.