Skip to content

Commit

Permalink
Make code in expression evaluation exercise editable (#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison authored Feb 6, 2025
1 parent 6a25d7b commit 06bdb40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pattern-matching/exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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}}
Expand Down

0 comments on commit 06bdb40

Please sign in to comment.