summaryrefslogtreecommitdiff
path: root/autochomp/benches
diff options
context:
space:
mode:
Diffstat (limited to 'autochomp/benches')
-rw-r--r--autochomp/benches/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/autochomp/benches/parse.rs b/autochomp/benches/parse.rs
index f185ef0..a42543a 100644
--- a/autochomp/benches/parse.rs
+++ b/autochomp/benches/parse.rs
@@ -149,7 +149,7 @@ fn parse_autochomp(input: &str) -> Result<(Vec<Function>, NamedExpression), Box<
}
fn parse_chomp(input: &str) -> Result<(Vec<Function>, NamedExpression), Box<dyn Error>> {
- syn::parse_str::<nibble::cst::File>(input)
+ syn::parse_str::<nibble::File>(input)
.map_err(|e| Box::new(e) as Box<dyn Error>)
.and_then(|file| file.convert().map_err(|e| Box::new(e) as Box<dyn Error>))
}