Skip to content

Commit

Permalink
Comment out ch5-impossible-add book notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote authored Dec 20, 2021
1 parent 39e24d7 commit 1f51062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch5/ch5-impossible-add.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[allow(arithmetic_overflow)] <1>
#[allow(arithmetic_overflow)] // <1>

fn main() {
let (a, b) = (200, 200);
let c: u8 = a + b; <2>
let c: u8 = a + b; // <2>
println!("200 + 200 = {}", c);
}

0 comments on commit 1f51062

Please sign in to comment.