]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/os/windows/io/handle.rs
Revise the documentation for `try_clone`.
[rust.git] / library / std / src / os / windows / io / handle.rs
index c9d8624e838cce922e8d6c7bc466ec20e8b32ad0..9ca5f3cc16838d03bf974392a90b68c275d835b8 100644 (file)
@@ -177,8 +177,8 @@ fn try_from(handle_or_null: HandleOrNull) -> Result<Self, NullHandleError> {
 }
 
 impl OwnedHandle {
-    /// Creates a new `OwnedHandle` instance that shares the same underlying file handle
-    /// as the existing `OwnedHandle` instance.
+    /// Creates a new `OwnedHandle` instance that shares the same underlying
+    /// object as the existing `OwnedHandle` instance.
     #[stable(feature = "io_safety", since = "1.63.0")]
     pub fn try_clone(&self) -> crate::io::Result<Self> {
         self.as_handle().try_clone_to_owned()