Skip to content

Commit

Permalink
Change name
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Oct 5, 2024
1 parent 741e302 commit d7fcf09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/feeder/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ impl Feeder {
}

pub fn scanner_name(&mut self, core: &mut ShellCore) -> usize {
let c = self.remaining.chars().nth(0).unwrap_or('0');
if '0' <= c && c <= '9' {
let head = self.remaining.chars().nth(0).unwrap_or('0');
if '0' <= head && head <= '9' {
return 0;
}

Expand Down

0 comments on commit d7fcf09

Please sign in to comment.