Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Dec 9, 2023
1 parent 873a359 commit 9b093d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zspell/src/affix/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ pub fn affix_from_str(s: &str) -> Result<Vec<AffixNode>, ParseError> {
let mut nlines: u32 = 1;

'outer: while !working.is_empty() {
for (_idx, parse_fn) in ALL_PARSERS.iter().enumerate() {
for parse_fn in &ALL_PARSERS {
let tmp = parse_fn(working).map_err(|e| e.add_offset_ret(nlines, 0))?;
if let Some((node, residual, nl)) = tmp {
nlines += nl;
Expand Down

0 comments on commit 9b093d3

Please sign in to comment.