Skip to content

Commit af7b891

Browse files
committed
Correct typo
1 parent df54632 commit af7b891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/os_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl OsStr {
189189
self.inner.to_string_lossy()
190190
}
191191

192-
/// Copy the slice into an onwed `OsString`.
192+
/// Copy the slice into an owned `OsString`.
193193
pub fn to_os_string(&self) -> OsString {
194194
OsString { inner: self.inner.to_owned() }
195195
}

0 commit comments

Comments
 (0)