Skip to content

Commit

Permalink
Merge pull request #266 from CoinFabrik/remove-print
Browse files Browse the repository at this point in the history
removed println! from vec-could-be-mapping
  • Loading branch information
tenuki authored Apr 29, 2024
2 parents 6adb623 + 6cacbca commit 910cc5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion detectors/vec-could-be-mapping/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ impl<'tcx> LateLintPass<'tcx> for VecCouldBeMapping {
}

fn check_field_def(&mut self, _: &LateContext<'tcx>, fdef: &'tcx rustc_hir::FieldDef<'tcx>) {
println!("{:#?}", fdef);
if is_vec_type_with_tuple_of_2_elems(fdef) {
self.storage_names
.insert(fdef.ident.name.to_string(), fdef.span);
Expand Down

0 comments on commit 910cc5e

Please sign in to comment.