Skip to content

Commit c6ced0f

Browse files
committed
Rollup merge of rust-lang#22328 - shepmaster:os_str_typo, r=steveklabnik
2 parents a001998 + af7b891 commit c6ced0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
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)