Correct typo

This commit is contained in:
Jake Goulding 2015-02-14 09:09:07 -05:00
parent df54632601
commit af7b8910b8

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