Remove duplicate paragraph after No Starch related changes

This commit is contained in:
Herbert Reiter
2022-01-30 17:15:23 +01:00
committed by Carol (Nichols || Goulding)
parent 98904efaa4
commit e7bfb353b1

View File

@@ -108,12 +108,6 @@ range of existing elements. As an example, lets see what happens when we have
a vector of five elements and then we try to access an element at index 100
with each technique, as shown in Listing 8-6.
Rust has two ways to reference an element so you can choose how the program
behaves when you try to use an index value that the vector doesnt have an
element for. As an example, lets see what a program will do if it has a vector
that holds five elements and then tries to access an element at index 100, as
shown in Listing 8-6.
```rust,should_panic,panics
{{#rustdoc_include ../listings/ch08-common-collections/listing-08-06/src/main.rs:here}}
```