Skip to content

Commit 4ce3cc6

Browse files
authored
Snake didn't deserve to die 🐍
1 parent 5bc8bbf commit 4ce3cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/option_unwrap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ controlled result while retaining the option to `panic` if desired.
2929
fn give_commoner(gift: Option<&str>) {
3030
// Specify a course of action for each case.
3131
match gift {
32-
Some("snake") => println!("Yuck! I'm throwing that snake in a fire."),
32+
Some("snake") => println!("Yuck! I'm putting this snake back in the forest."),
3333
Some(inner) => println!("{}? How nice.", inner),
3434
None => println!("No gift? Oh well."),
3535
}

0 commit comments

Comments
 (0)