@@ -22,7 +22,7 @@ use sys::os_str::{Buf, Slice};
22
22
use sys_common:: { AsInner , IntoInner , FromInner } ;
23
23
24
24
/// 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.
26
26
///
27
27
/// The need for this type arises from the fact that:
28
28
///
@@ -272,7 +272,7 @@ impl OsStr {
272
272
unsafe { mem:: transmute ( inner) }
273
273
}
274
274
275
- /// Yields a `&str` slice if the `OsStr` is valid unicode .
275
+ /// Yields a `&str` slice if the `OsStr` is valid Unicode .
276
276
///
277
277
/// This conversion may entail doing a check for UTF-8 validity.
278
278
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -301,7 +301,7 @@ impl OsStr {
301
301
/// On Unix systems, this is a no-op.
302
302
///
303
303
/// 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
305
305
/// data. This may entail checking validity.
306
306
#[ unstable( feature = "convert" , reason = "recently added" , issue = "27704" ) ]
307
307
#[ rustc_deprecated( reason = "RFC was closed, hides subtle Windows semantics" ,
0 commit comments