Skip to content

Commit 3d16321

Browse files
committed
Spell fixes for std::ffi doc comments
1 parent 3ac4076 commit 3d16321

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/ffi/os_str.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use sys::os_str::{Buf, Slice};
2222
use 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

Comments
 (0)