Skip to content

Commit

Permalink
hotfix: add type annotation to let binding
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Apr 11, 2023
1 parent 2e1bb06 commit a942b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/unnecessary_reserve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ fn check_extend_method(
{
read_found = true;
}
let _ = !read_found;
let _: bool = !read_found;
ControlFlow::Continue(())
});

Expand Down

0 comments on commit a942b8b

Please sign in to comment.