From 26bc17b77ed7ddd012b25397c4910c5e4fa484e7 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 21 Dec 2015 12:37:59 -0500 Subject: [PATCH] ignore some things I forgot to ignore --- src/if.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/if.md b/src/if.md index 7fe4a56fd..ad2c6679d 100644 --- a/src/if.md +++ b/src/if.md @@ -86,7 +86,7 @@ In this case, nothing is printed. It’s also worth noting that `condition` here _must_ be a `bool`. Let’s try an example with something else: -``` +```rust,ignore fn main() { let condition = 5; @@ -185,7 +185,7 @@ by themselves are also expressions. So in this case, the value of the whole There’s another small detail involved here: this means that if you use `if` in this way, both arms of the `if` must be the same type. This doesn’t work: -```rust +```rust,ignore fn main() { let condition = true;