From ea71ac2c0ad64b08f097d9225ecc4fb7ed1a1256 Mon Sep 17 00:00:00 2001 From: Tobias Hermann Date: Wed, 11 Sep 2024 11:36:58 +0200 Subject: [PATCH] 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. --- book/src/06_ticket_management/00_intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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