File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1549,7 +1549,7 @@ pub(crate) mod builtin {
1549
1549
/// NAME is a string that represents a valid function name.
1550
1550
/// MODE is any of Forward, Reverse, ForwardFirst, ReverseFirst.
1551
1551
/// INPUT_ACTIVITIES consists of one valid activity for each input parameter.
1552
- /// OUTPUT_ACTIVITY must not be set if we implicitely return nothing (or explicitely return
1552
+ /// OUTPUT_ACTIVITY must not be set if we implicitly return nothing (or explicitly return
1553
1553
/// `-> ()`). Otherwise it must be set to one of the allowed activities.
1554
1554
#[ unstable( feature = "autodiff" , issue = "124509" ) ]
1555
1555
#[ allow_internal_unstable( rustc_attrs) ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ impl [u8] {
8
8
/// Creates an iterator over the contiguous valid UTF-8 ranges of this
9
9
/// slice, and the non-UTF-8 fragments in between.
10
10
///
11
- /// See the [`Utf8Chunk`] type for documenation of the items yielded by this iterator.
11
+ /// See the [`Utf8Chunk`] type for documentation of the items yielded by this iterator.
12
12
///
13
13
/// # Examples
14
14
///
@@ -150,7 +150,7 @@ impl fmt::Debug for Debug<'_> {
150
150
/// If you want a simple conversion from UTF-8 byte slices to string slices,
151
151
/// [`from_utf8`] is easier to use.
152
152
///
153
- /// See the [`Utf8Chunk`] type for documenation of the items yielded by this iterator.
153
+ /// See the [`Utf8Chunk`] type for documentation of the items yielded by this iterator.
154
154
///
155
155
/// [byteslice]: slice
156
156
/// [`from_utf8`]: super::from_utf8
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ fn test_reverse_on_zip() {
255
255
256
256
let zipped_iter = vec_1. iter ( ) . zip ( core:: iter:: repeat ( 0 ) . take ( 20 ) ) ;
257
257
258
- // Cannot call rev here for automatic reversed zip constuction
258
+ // Cannot call rev here for automatic reversed zip construction
259
259
for ( & one, zero) in zipped_iter. rev ( ) {
260
260
assert_eq ! ( ( 1 , 0 ) , ( one, zero) ) ;
261
261
}
You can’t perform that action at this time.
0 commit comments