diff --git a/crates/ruff_linter/src/rules/flake8_bugbear/rules/loop_iterator_mutation.rs b/crates/ruff_linter/src/rules/flake8_bugbear/rules/loop_iterator_mutation.rs index 3c5b31ce7ae98..d48466813acb7 100644 --- a/crates/ruff_linter/src/rules/flake8_bugbear/rules/loop_iterator_mutation.rs +++ b/crates/ruff_linter/src/rules/flake8_bugbear/rules/loop_iterator_mutation.rs @@ -114,9 +114,9 @@ fn is_mutating_function(function_name: &str) -> bool { struct LoopMutationsVisitor<'a> { iter: &'a Expr, target: &'a Expr, - mutations: HashMap>, - branches: Vec, - branch: u8, + mutations: HashMap>, + branches: Vec, + branch: u32, } impl<'a> LoopMutationsVisitor<'a> {