From 18fa6d8dbcbb8ba46ecd95000727e11acb8a1eaa Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 15 Oct 2015 00:19:47 +0200 Subject: [PATCH] book: be consistent with preceding example --- src/doc/trpl/if-let.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/if-let.md b/src/doc/trpl/if-let.md index 4872ed6a77347..6f105b7c6c42e 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, } } ```