mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
reference: remove stray comma
This commit is contained in:
parent
912ab64a0d
commit
e08bb7f54c
@ -3355,7 +3355,7 @@ let s: &[i32] = &vec[..];
|
|||||||
As you can see, the `vec!` macro allows you to create a `Vec<T>` easily. The
|
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.
|
`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.
|
to an array or slice is always bounds-checked.
|
||||||
|
|
||||||
### Structure types
|
### Structure types
|
||||||
|
Loading…
Reference in New Issue
Block a user