Skip to content

Commit

Permalink
Make servo example match exactly
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Oct 2, 2015
1 parent 7fa7307 commit 8cd47d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-if-not-let.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ let subpage_layer_info = match layer_properties.subpage_layer_info {
is equivalent to this much simpler if-not-let expression:

```rust
if !let Some(subpage_layer_info) = match layer_properties.subpage_layer_info {
if !let Some(ref subpage_layer_info) = match layer_properties.subpage_layer_info {
return
}
```
Expand Down

0 comments on commit 8cd47d4

Please sign in to comment.