File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ strip = true
159159[workspace .lints .clippy ]
160160blocks_in_conditions = " allow"
161161comparison_chain = " allow"
162+ iter_over_hash_type = " warn"
162163manual_range_contains = " allow"
163164mutable_key_type = " allow"
164165uninlined_format_args = " warn"
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ impl Watcher {
139139 fn update ( & mut self , iter : impl IntoIterator < Item = PathBuf > ) -> StrResult < ( ) > {
140140 // Mark all files as not "seen" so that we may unwatch them if they
141141 // aren't in the dependency list.
142+ #[ allow( clippy:: iter_over_hash_type, reason = "order does not matter" ) ]
142143 for seen in self . watched . values_mut ( ) {
143144 * seen = false ;
144145 }
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ impl SystemWorld {
173173
174174 /// Reset the compilation state in preparation of a new compilation.
175175 pub fn reset ( & mut self ) {
176+ #[ allow( clippy:: iter_over_hash_type, reason = "order does not matter" ) ]
176177 for slot in self . slots . get_mut ( ) . values_mut ( ) {
177178 slot. reset ( ) ;
178179 }
You can’t perform that action at this time.
0 commit comments