1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-11 16:50:16 +02:00

Update vec.md (#2810)

With #1898 the slices were moved to day 1. So I deleted the day 3 slice
reference sentence in day 2 vec.md.
This commit is contained in:
Enes Aydın
2025-07-07 02:01:54 +03:00
committed by GitHub
parent 8419b3095e
commit e35f6d684d

View File

@ -49,7 +49,5 @@ methods on a `Vec`.
- To index the vector you use `[` `]`, but they will panic if out of bounds.
Alternatively, using `get` will return an `Option`. The `pop` function will
remove the last element.
- Slices are covered on day 3. For now, students only need to know that a value
of type `Vec` gives access to all of the documented slice methods, too.
</details>