Skip to content

Commit b461a3a

Browse files
committed
Fixes errant parenthesis
1 parent fca945a commit b461a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flow_control/if_let.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Another benefit is that `if let` allows us to match non-parameterized enum varia
104104
Would you like a challenge? Fix the following example to use `if let`:
105105

106106
```rust,editable,ignore,mdbook-runnable
107-
// This enum purposely neither implements nor derives PartialEq).
107+
// This enum purposely neither implements nor derives PartialEq.
108108
// That is why comparing Foo::Bar == a fails below.
109109
enum Foo {Bar}
110110

0 commit comments

Comments
 (0)