Skip to content

Commit b86ac21

Browse files
randomPoisonmichael-kerscher
authored andcommitted
Make code in expression evaluation exercise editable (google#2601)
1 parent 3b5e9c4 commit b86ac21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pattern-matching/exercise.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ evaluate to `85`. We represent this as a much bigger tree:
4646

4747
In code, we will represent the tree with two types:
4848

49-
```rust
49+
```rust,editable
5050
{{#include exercise.rs:Operation}}
5151
5252
{{#include exercise.rs:Expression}}
@@ -68,7 +68,7 @@ get the tests to pass one-by-one. You can also skip a test temporarily with
6868
fn test_value() { .. }
6969
```
7070

71-
```rust
71+
```rust,editable
7272
{{#include exercise.rs:Operation}}
7373
7474
{{#include exercise.rs:Expression}}

0 commit comments

Comments
 (0)