Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Feb 14, 2015
1 parent df54632 commit af7b891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/ffi/os_str.rs
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 af7b891

Please sign in to comment.