about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-10-15 13:41:33 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-10-15 13:41:33 +0530
commit596338b8ef928c573865afe0d39cf7ccba587f7c (patch)
tree76d66eb3159220077cc0a21515288a1400093ecb /src
parentbcbad7ba8c1aaf28d1c7c9f9d791702573b79c9c (diff)
parent18fa6d8dbcbb8ba46ecd95000727e11acb8a1eaa (diff)
downloadrust-596338b8ef928c573865afe0d39cf7ccba587f7c.tar.gz
rust-596338b8ef928c573865afe0d39cf7ccba587f7c.zip
Rollup merge of #29060 - tshepang:consistency, r=nikomatsakis
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/if-let.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/if-let.md b/src/doc/trpl/if-let.md
index 332498ce0f4..faa922acb3d 100644
--- a/src/doc/trpl/if-let.md
+++ b/src/doc/trpl/if-let.md
@@ -65,7 +65,7 @@ loop as long as a value matches a certain pattern. It turns code like this:
 loop {
     match option {
         Some(x) => println!("{}", x),
-        _ => break,
+        None => break,
     }
 }
 ```