File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Some examples of unsafe functions:
42
42
* ` slice::get_unchecked ` will perform unchecked indexing, allowing memory
43
43
safety to be freely violated.
44
44
* every raw pointer to sized type has intrinsic ` offset ` method that invokes
45
- Undefined Behaviour if it is not "in bounds" as defined by LLVM.
45
+ Undefined Behavior if it is not "in bounds" as defined by LLVM.
46
46
* ` mem::transmute ` reinterprets some value as having the given type,
47
47
bypassing type safety in arbitrary ways. (see [ conversions] for details)
48
48
* All FFI functions are ` unsafe ` because they can do arbitrary things.
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl<S: Borrow<str>> SliceConcatExt<str> for [S] {
102
102
}
103
103
}
104
104
105
- /// External iterator for a string's UTF16 codeunits .
105
+ /// External iterator for a string's UTF-16 code units .
106
106
///
107
107
/// For use with the `std::iter` module.
108
108
#[ derive( Clone ) ]
Original file line number Diff line number Diff line change @@ -3248,7 +3248,7 @@ impl<T> Default for Empty<T> {
3248
3248
3249
3249
/// Creates an iterator that yields nothing.
3250
3250
///
3251
- /// # Exampes
3251
+ /// # Examples
3252
3252
///
3253
3253
/// Basic usage:
3254
3254
///
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ impl IntoInner<AnonPipe> for ChildStdin {
100
100
fn into_inner ( self ) -> AnonPipe { self . inner }
101
101
}
102
102
103
- /// A handle to a child procesess 's stdout
103
+ /// A handle to a child process 's stdout
104
104
#[ stable( feature = "process" , since = "1.0.0" ) ]
105
105
pub struct ChildStdout {
106
106
inner : AnonPipe
@@ -121,7 +121,7 @@ impl IntoInner<AnonPipe> for ChildStdout {
121
121
fn into_inner ( self ) -> AnonPipe { self . inner }
122
122
}
123
123
124
- /// A handle to a child procesess 's stderr
124
+ /// A handle to a child process 's stderr
125
125
#[ stable( feature = "process" , since = "1.0.0" ) ]
126
126
pub struct ChildStderr {
127
127
inner : AnonPipe
You can’t perform that action at this time.
0 commit comments