diff --git a/src/pattern-matching/exercise.md b/src/pattern-matching/exercise.md index 42493f43032c..bbe303474b67 100644 --- a/src/pattern-matching/exercise.md +++ b/src/pattern-matching/exercise.md @@ -46,7 +46,7 @@ evaluate to `85`. We represent this as a much bigger tree: In code, we will represent the tree with two types: -```rust +```rust,editable {{#include exercise.rs:Operation}} {{#include exercise.rs:Expression}} @@ -68,7 +68,7 @@ get the tests to pass one-by-one. You can also skip a test temporarily with fn test_value() { .. } ``` -```rust +```rust,editable {{#include exercise.rs:Operation}} {{#include exercise.rs:Expression}}