summaryrefslogtreecommitdiff
path: root/autochomp/benches/parse.rs
diff options
context:
space:
mode:
authorGreg Brown <gmb60@cam.ac.uk>2021-04-30 14:36:54 +0100
committerGreg Brown <gmb60@cam.ac.uk>2021-04-30 14:36:54 +0100
commitd93ba45b0a952dea06f5cc5326eefb0818525912 (patch)
tree01cffb12342546cd95e13ee2e9a944295264971e /autochomp/benches/parse.rs
parent449695dcf87d26b0d06a51ca27bbc8214338f954 (diff)
Move items in `nibble::cst` to `nibble`
Diffstat (limited to 'autochomp/benches/parse.rs')
-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>))
}