From af7b8910b814f5f8ed58d0f692360c9bb7ee4ab9 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Sat, 14 Feb 2015 09:09:07 -0500 Subject: [PATCH] Correct typo --- src/libstd/ffi/os_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index 4d7292b6eb417..1d14b141778f0 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -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() } }