Skip to content

Commit 8cd47d4

Browse files
committed
Make servo example match exactly
1 parent 7fa7307 commit 8cd47d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-if-not-let.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ let subpage_layer_info = match layer_properties.subpage_layer_info {
7474
is equivalent to this much simpler if-not-let expression:
7575

7676
```rust
77-
if !let Some(subpage_layer_info) = match layer_properties.subpage_layer_info {
77+
if !let Some(ref subpage_layer_info) = match layer_properties.subpage_layer_info {
7878
return
7979
}
8080
```

0 commit comments

Comments
 (0)