File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ impl Stdio {
61
61
Self ( StdioImpl :: Fd ( OwnedFd :: from_raw_fd ( fd) , true ) )
62
62
}
63
63
}
64
+ /// **Deprecated, use [`Stdio::from_raw_fd_owned`] instead.**
65
+ ///
64
66
/// FromRawFd takes ownership of the fd passed in
65
67
/// and closes the fd on drop.
66
68
///
@@ -114,8 +116,8 @@ macro_rules! impl_from_for_stdio {
114
116
since = "0.9.8" ,
115
117
note = "Use From<OwnedFd> for Stdio or Stdio::from_raw_fd_owned instead"
116
118
) ]
117
- /// deprecated , use `From<OwnedFd> for Stdio` or
118
- /// [`Stdio::from_raw_fd_owned`] instead.
119
+ /// **Deprecated , use `From<OwnedFd> for Stdio` or
120
+ /// [`Stdio::from_raw_fd_owned`] instead.**
119
121
impl From <$type> for Stdio {
120
122
fn from( arg: $type) -> Self {
121
123
let fd = arg. into_raw_fd( ) ;
You can’t perform that action at this time.
0 commit comments