mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-27 16:25:43 +02:00
Make code in expression evaluation exercise editable (#2601)
This commit is contained in:
parent
6a25d7be04
commit
06bdb40442
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user