Skip to content

Commit e08bb7f

Browse files
committed
reference: remove stray comma
1 parent 912ab64 commit e08bb7f

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
@@ -3355,7 +3355,7 @@ let s: &[i32] = &vec[..];
33553355
As you can see, the `vec!` macro allows you to create a `Vec<T>` easily. The
33563356
`vec!` macro is also part of the standard library, rather than the language.
33573357

3358-
All in-bounds elements of arrays, and slices are always initialized, and access
3358+
All in-bounds elements of arrays and slices are always initialized, and access
33593359
to an array or slice is always bounds-checked.
33603360

33613361
### Structure types

0 commit comments

Comments
 (0)