Skip to content

Commit

Permalink
Rollup merge of rust-lang#22328 - shepmaster:os_str_typo, r=steveklabnik
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 15, 2015
2 parents a001998 + af7b891 commit c6ced0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/ffi/os_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
}
Expand Down

0 comments on commit c6ced0f

Please sign in to comment.