summaryrefslogtreecommitdiffstats
path: root/crates/rebel-parse/benches/recipe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rebel-parse/benches/recipe.rs')
-rw-r--r--crates/rebel-parse/benches/recipe.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rebel-parse/benches/recipe.rs b/crates/rebel-parse/benches/recipe.rs
index 08eab7d..4cff857 100644
--- a/crates/rebel-parse/benches/recipe.rs
+++ b/crates/rebel-parse/benches/recipe.rs
@@ -1,4 +1,4 @@
-use rebel_parse::{ast, token::Token};
+use rebel_parse::{ast, token::TokenStream};
fn main() {
divan::main();
@@ -7,7 +7,7 @@ fn main() {
const RECIPE: &str = include_str!("../../../examples/recipes/gmp/build.recipe");
#[divan::bench]
-fn tokenize() -> Vec<Token<'static>> {
+fn tokenize() -> TokenStream<'static> {
rebel_parse::tokenize::token_stream(divan::black_box(RECIPE)).unwrap()
}