@@ -22,7 +22,7 @@ use sys::os_str::{Buf, Slice};
2222use sys_common:: { AsInner , IntoInner , FromInner } ;
2323
2424/// A type that can represent owned, mutable platform-native strings, but is
25- /// cheaply interconvertable with Rust strings.
25+ /// cheaply inter-convertible with Rust strings.
2626///
2727/// The need for this type arises from the fact that:
2828///
@@ -272,7 +272,7 @@ impl OsStr {
272272 unsafe { mem:: transmute ( inner) }
273273 }
274274
275- /// Yields a `&str` slice if the `OsStr` is valid unicode .
275+ /// Yields a `&str` slice if the `OsStr` is valid Unicode .
276276 ///
277277 /// This conversion may entail doing a check for UTF-8 validity.
278278 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -301,7 +301,7 @@ impl OsStr {
301301 /// On Unix systems, this is a no-op.
302302 ///
303303 /// On Windows systems, this returns `None` unless the `OsStr` is
304- /// valid unicode , in which case it produces UTF-8-encoded
304+ /// valid Unicode , in which case it produces UTF-8-encoded
305305 /// data. This may entail checking validity.
306306 #[ unstable( feature = "convert" , reason = "recently added" , issue = "27704" ) ]
307307 #[ rustc_deprecated( reason = "RFC was closed, hides subtle Windows semantics" ,
0 commit comments