diff --git a/text/0000-if-not-let.md b/text/0000-if-not-let.md index f8592236df9..7fe87db155c 100644 --- a/text/0000-if-not-let.md +++ b/text/0000-if-not-let.md @@ -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 } ```