diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-10-15 00:19:47 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-10-15 00:19:47 +0200 |
| commit | 18fa6d8dbcbb8ba46ecd95000727e11acb8a1eaa (patch) | |
| tree | 679439769cb6e69e806e00071084f573dace64b3 /src | |
| parent | ec4362da562a4b591a7d120c6677e14ea713481a (diff) | |
| download | rust-18fa6d8dbcbb8ba46ecd95000727e11acb8a1eaa.tar.gz rust-18fa6d8dbcbb8ba46ecd95000727e11acb8a1eaa.zip | |
book: be consistent with preceding example
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/if-let.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/if-let.md b/src/doc/trpl/if-let.md index 4872ed6a773..6f105b7c6c4 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, } } ``` |
