Skip to content

Commit 4c7c7b7

Browse files
committed
Rollup merge of rust-lang#26800 - tshepang:comma, r=Gankro
2 parents 8b51b8f + e08bb7f commit 4c7c7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3367,7 +3367,7 @@ let slice: &[i32] = &vector[..];
33673367
As you can see, the `vec!` macro allows you to create a `Vec<T>` easily. The
33683368
`vec!` macro is also part of the standard library, rather than the language.
33693369

3370-
All in-bounds elements of arrays, and slices are always initialized, and access
3370+
All in-bounds elements of arrays and slices are always initialized, and access
33713371
to an array or slice is always bounds-checked.
33723372

33733373
### Structure types

0 commit comments

Comments
 (0)