Rollup merge of #22328 - shepmaster:os_str_typo, r=steveklabnik

This commit is contained in:
Manish Goregaokar 2015-02-15 18:32:20 +05:30
commit c6ced0fb36

View file

@ -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() }
}