@@ -502,6 +502,7 @@ impl AsHandle for fs::File {
502502
503503#[ stable( feature = "io_safety" ,  since = "1.63.0" ) ]  
504504impl  From < fs:: File >  for  OwnedHandle  { 
505+     /// Takes ownership of a [`File`](fs::File)'s underlying file handle. 
505506#[ inline]  
506507    fn  from ( file :  fs:: File )  -> OwnedHandle  { 
507508        file. into_inner ( ) . into_inner ( ) . into_inner ( ) 
@@ -510,6 +511,7 @@ impl From<fs::File> for OwnedHandle {
510511
511512#[ stable( feature = "io_safety" ,  since = "1.63.0" ) ]  
512513impl  From < OwnedHandle >  for  fs:: File  { 
514+     /// Returns a [`File`](fs::File) that takes ownership of the given handle. 
513515#[ inline]  
514516    fn  from ( owned :  OwnedHandle )  -> Self  { 
515517        Self :: from_inner ( FromInner :: from_inner ( FromInner :: from_inner ( owned) ) ) 
@@ -574,6 +576,7 @@ impl AsHandle for crate::process::ChildStdin {
574576
575577#[ stable( feature = "io_safety" ,  since = "1.63.0" ) ]  
576578impl  From < crate :: process:: ChildStdin >  for  OwnedHandle  { 
579+     /// Takes ownership of a [`ChildStdin`](crate::process::ChildStdin)'s file handle. 
577580#[ inline]  
578581    fn  from ( child_stdin :  crate :: process:: ChildStdin )  -> OwnedHandle  { 
579582        unsafe  {  OwnedHandle :: from_raw_handle ( child_stdin. into_raw_handle ( ) )  } 
@@ -590,6 +593,7 @@ impl AsHandle for crate::process::ChildStdout {
590593
591594#[ stable( feature = "io_safety" ,  since = "1.63.0" ) ]  
592595impl  From < crate :: process:: ChildStdout >  for  OwnedHandle  { 
596+     /// Takes ownership of a [`ChildStdout`](crate::process::ChildStdout)'s file handle. 
593597#[ inline]  
594598    fn  from ( child_stdout :  crate :: process:: ChildStdout )  -> OwnedHandle  { 
595599        unsafe  {  OwnedHandle :: from_raw_handle ( child_stdout. into_raw_handle ( ) )  } 
@@ -606,6 +610,7 @@ impl AsHandle for crate::process::ChildStderr {
606610
607611#[ stable( feature = "io_safety" ,  since = "1.63.0" ) ]  
608612impl  From < crate :: process:: ChildStderr >  for  OwnedHandle  { 
613+     /// Takes ownership of a [`ChildStderr`](crate::process::ChildStderr)'s file handle. 
609614#[ inline]  
610615    fn  from ( child_stderr :  crate :: process:: ChildStderr )  -> OwnedHandle  { 
611616        unsafe  {  OwnedHandle :: from_raw_handle ( child_stderr. into_raw_handle ( ) )  } 
0 commit comments