Skip to content

Commit 39cea33

Browse files
Merge pull request #2877 from jruderman/letx
Chapter 3.3: Remove unused variable
2 parents ceaaa59 + 4ecd275 commit 39cea33

File tree

1 file changed

+0
-2
lines changed
  • listings/ch03-common-programming-concepts/no-listing-20-blocks-are-expressions/src

1 file changed

+0
-2
lines changed

listings/ch03-common-programming-concepts/no-listing-20-blocks-are-expressions/src/main.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
fn main() {
2-
let x = 5;
3-
42
let y = {
53
let x = 3;
64
x + 1

0 commit comments

Comments
 (0)