Rollup merge of #22328 - shepmaster:os_str_typo, r=steveklabnik
This commit is contained in:
commit
c6ced0fb36
1 changed files with 1 additions and 1 deletions
|
@ -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() }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue