Rollup merge of #26800 - tshepang:comma, r=Gankro
This commit is contained in:
commit
4c7c7b7477
1 changed files with 1 additions and 1 deletions
|
@ -3367,7 +3367,7 @@ let slice: &[i32] = &vector[..];
|
|||
As you can see, the `vec!` macro allows you to create a `Vec<T>` easily. The
|
||||
`vec!` macro is also part of the standard library, rather than the language.
|
||||
|
||||
All in-bounds elements of arrays, and slices are always initialized, and access
|
||||
All in-bounds elements of arrays and slices are always initialized, and access
|
||||
to an array or slice is always bounds-checked.
|
||||
|
||||
### Structure types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue