diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-07-05 15:12:20 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-07-05 15:12:20 -0400 |
| commit | 4c7c7b7477176878001881e88c12e003a51a3f34 (patch) | |
| tree | 701fd3a89348c019cd48986f2249bc193bf4ab80 | |
| parent | 8b51b8f1818ffb5be6e7f5e3ee8ad5ec43e6c8a4 (diff) | |
| parent | e08bb7f54c12d9c74b63483ddc8ec900df7f6e41 (diff) | |
| download | rust-4c7c7b7477176878001881e88c12e003a51a3f34.tar.gz rust-4c7c7b7477176878001881e88c12e003a51a3f34.zip | |
Rollup merge of #26800 - tshepang:comma, r=Gankro
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index dbc22f8c9ae..671a3390d99 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -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 |
