From: Tobias Hermann Date: Wed, 11 Sep 2024 09:36:58 +0000 (+0200) Subject: Remove duplicated mention of slices in 00_intro.md (#144) X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=ea71ac2c0ad64b08f097d9225ecc4fb7ed1a1256;p=rust_exercises.git Remove duplicated mention of slices in 00_intro.md (#144) Slices are already mentioned in bullet point 4, so they can be removed from bullet point 2. --- diff --git a/book/src/06_ticket_management/00_intro.md b/book/src/06_ticket_management/00_intro.md index cad7aa8..7af5556 100644 --- a/book/src/06_ticket_management/00_intro.md +++ b/book/src/06_ticket_management/00_intro.md @@ -8,7 +8,7 @@ store and retrieve tickets. The task will give us an opportunity to explore new Rust concepts, such as: - Stack-allocated arrays -- `Vec`, a growable array type, and slices +- `Vec`, a growable array type - `Iterator` and `IntoIterator`, for iterating over collections - Slices (`&[T]`), to work with parts of a collection - Lifetimes, to describe how long references are valid