From f475da63a18d50217459a601cbef69a4bcac5e71 Mon Sep 17 00:00:00 2001 From: steveklabnik Date: Sat, 16 Jun 2018 14:40:26 -0400 Subject: [PATCH] Fix the build --- 2018-edition/src/ch10-02-traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2018-edition/src/ch10-02-traits.md b/2018-edition/src/ch10-02-traits.md index a30fd4848..7bc1caaf1 100644 --- a/2018-edition/src/ch10-02-traits.md +++ b/2018-edition/src/ch10-02-traits.md @@ -369,7 +369,7 @@ needing to write out a really long type. This only works if you have a single type that you're returning, however. For example, this would *not* work: -```rust +```rust,ignore fn returns_summarizable(switch: bool) -> impl Summary { if switch { NewsArticle {