forked from shadowfacts/shadowfacts.net
Fix code snippeting Part 6: Grouping
This commit is contained in:
parent
7b4fb77153
commit
dad7ed06dc
|
@ -84,8 +84,8 @@ And now it can parse grouped expressions:
|
|||
```rust
|
||||
fn main() {
|
||||
let tokens = tokenize("(1)");
|
||||
if let node = parse(tokens) {
|
||||
println!("node: {:#?}", node);
|
||||
if let node = parse(&tokens) {
|
||||
println!("node: {:#?}", &node);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue