You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ch19-03-pattern-syntax.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ value `Some(5)` and a variable `y` with the value `10`. We then create a
29
29
`println!` at the end, and try to figure out what the code will print before
30
30
running this code or reading further.
31
31
32
-
<Listingnumber="19-11"file-name="src/main.rs"caption="A `match` expression with an arm that introduces a shadowed variable `y`">
32
+
<Listingnumber="19-11"file-name="src/main.rs"caption="A `match` expression with an arm that introduces a new variable which shadows an existing variable `y`">
0 commit comments