Skip to content

Commit 6c6f2aa

Browse files
Apply MR feedback
1 parent fa05df4 commit 6c6f2aa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

courses/rust_essentials/050_tuples_and_arrays/03_destructuring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Ignoring Multiple Elements
112112

113113
- Ignore multiple elements using the **rest pattern** (:rust:`..`)
114114
- Can only be used **once** per pattern
115-
- Either at the beginning, the middle, or the end
115+
- Anywhere within the element list
116116

117117
.. code:: rust
118118

courses/rust_essentials/070_structs_and_enums/03_enums.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Enums With Data
3737
Run(Direction), // Tuple variant
3838
Teleport { xx: u32, yy: u32 }, // Named-field struct variant
3939
}
40-
let mv = PlayerMove::Run(Direction::Left);
40+
let action = PlayerMove::Run(Direction::Left);
4141
4242
let teleport = PlayerMove::Teleport { xx: 10, yy: 10 };
4343

0 commit comments

Comments
 (0)