From dad7ed06dc50debd059a273f1a1eebef089fa706 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 18 Apr 2021 22:49:17 -0400 Subject: [PATCH] Fix code snippeting Part 6: Grouping --- site/posts/2021-04-18-grouping.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/posts/2021-04-18-grouping.md b/site/posts/2021-04-18-grouping.md index 8c017dc..1ea92e1 100644 --- a/site/posts/2021-04-18-grouping.md +++ b/site/posts/2021-04-18-grouping.md @@ -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); } } ```