diff options
| author | Craig M. Brandenburg <c.m.brandenburg@gmail.com> | 2016-03-10 05:14:00 -0700 |
|---|---|---|
| committer | Craig M. Brandenburg <c.m.brandenburg@gmail.com> | 2016-03-10 05:14:00 -0700 |
| commit | 3d163218700364a67c1120aa437d7b8f229f0663 (patch) | |
| tree | dc679414a492bc23bb49710ee04b939b43555372 /src/libstd | |
| parent | 3ac4076ac0e4276dce59cd254dfa2c5cf848dca8 (diff) | |
| download | rust-3d163218700364a67c1120aa437d7b8f229f0663.tar.gz rust-3d163218700364a67c1120aa437d7b8f229f0663.zip | |
Spell fixes for std::ffi doc comments
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index cf4f4bdf291..d979aa264af 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -22,7 +22,7 @@ use sys::os_str::{Buf, Slice}; use sys_common::{AsInner, IntoInner, FromInner}; /// A type that can represent owned, mutable platform-native strings, but is -/// cheaply interconvertable with Rust strings. +/// cheaply inter-convertible with Rust strings. /// /// The need for this type arises from the fact that: /// @@ -272,7 +272,7 @@ impl OsStr { unsafe { mem::transmute(inner) } } - /// Yields a `&str` slice if the `OsStr` is valid unicode. + /// Yields a `&str` slice if the `OsStr` is valid Unicode. /// /// This conversion may entail doing a check for UTF-8 validity. #[stable(feature = "rust1", since = "1.0.0")] @@ -301,7 +301,7 @@ impl OsStr { /// On Unix systems, this is a no-op. /// /// On Windows systems, this returns `None` unless the `OsStr` is - /// valid unicode, in which case it produces UTF-8-encoded + /// valid Unicode, in which case it produces UTF-8-encoded /// data. This may entail checking validity. #[unstable(feature = "convert", reason = "recently added", issue = "27704")] #[rustc_deprecated(reason = "RFC was closed, hides subtle Windows semantics", |
