Skip to content

Commit

Permalink
🐛 fix cli after iterator changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamsk committed Dec 4, 2024
1 parent 965514a commit 1c260b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sas-lexer-cli/src/stat/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub(super) fn gen_stats_for_console(samples: &PathBuf) {
token_count = Some(tok_buffer.token_count());

let unique_token_count = tok_buffer
.into_iter()
.iter_tokens()
.map(|t| tok_buffer.get_token_type(t).unwrap() as u32)
.collect::<HashSet<_>>()
.len();
Expand Down

0 comments on commit 1c260b0

Please sign in to comment.