Skip to content

Commit

Permalink
Merge pull request #2485 from adrientremblay/master
Browse files Browse the repository at this point in the history
Clarify code example ch6.3
  • Loading branch information
carols10cents authored Dec 23, 2020
2 parents 1fdea76 + a61cdbd commit e54f703
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() {
let some_u8_value = Some(0u8);
// ANCHOR: here
let some_u8_value = Some(0u8);
if let Some(3) = some_u8_value {
println!("three");
}
Expand Down

0 comments on commit e54f703

Please sign in to comment.