Skip to content

Commit

Permalink
Renamed arg for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
rben01 committed Sep 9, 2024
1 parent e2a096d commit d1a645c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numbat/src/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ struct Tokenizer {
interpolation_state: InterpolationState,
}

fn char_at(s: &str, index_bytes: usize) -> Option<char> {
s[index_bytes..].chars().next()
fn char_at(s: &str, byte_index: usize) -> Option<char> {
s[byte_index..].chars().next()
}

impl Tokenizer {
Expand Down

0 comments on commit d1a645c

Please sign in to comment.