Skip to content

Commit 5561d7e

Browse files
authored
Update defaults.md
1 parent c517ea2 commit 5561d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/option_unwrap/defaults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn main() {
9898
println!("my_fruit is: {:?}", my_fruit);
9999
// Providing lemon as fallback
100100
// first_available_fruit is: Lemon
101-
// my_fruit is: Lemon
101+
// my_fruit is: Some(Lemon)
102102
103103
// If the Option has a value, it is left unchanged, and the closure is not invoked
104104
let mut my_apple = Some(Fruit::Apple);

0 commit comments

Comments
 (0)