diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index 4d7292b6eb417..1d14b141778f0 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -189,7 +189,7 @@ impl OsStr { self.inner.to_string_lossy() } - /// Copy the slice into an onwed `OsString`. + /// Copy the slice into an owned `OsString`. pub fn to_os_string(&self) -> OsString { OsString { inner: self.inner.to_owned() } }