From a988a90e112a68dd48222105f57556f97ea35fbd Mon Sep 17 00:00:00 2001 From: Fridtjof Stoldt Date: Mon, 10 May 2021 12:24:24 +0200 Subject: [PATCH] Update clippy_lints/src/deprecated_lints.rs Co-authored-by: Philipp Krones --- clippy_lints/src/deprecated_lints.rs | 2 +- clippy_lints/src/utils/internal_lints/metadata_collector.rs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/clippy_lints/src/deprecated_lints.rs b/clippy_lints/src/deprecated_lints.rs index fa8add20688c..50ffc2e3f190 100644 --- a/clippy_lints/src/deprecated_lints.rs +++ b/clippy_lints/src/deprecated_lints.rs @@ -1,5 +1,5 @@ /// This struct fakes the `Lint` declaration that is usually created by `declare_lint!`. This -/// enables the simple extraction of the metadata without changing the current depreciation +/// enables the simple extraction of the metadata without changing the current deprecation /// declaration. pub struct ClippyDeprecatedLint; diff --git a/clippy_lints/src/utils/internal_lints/metadata_collector.rs b/clippy_lints/src/utils/internal_lints/metadata_collector.rs index af734fa5572a..fc4912ba52ff 100644 --- a/clippy_lints/src/utils/internal_lints/metadata_collector.rs +++ b/clippy_lints/src/utils/internal_lints/metadata_collector.rs @@ -8,9 +8,6 @@ //! during any comparison or mapping. (Please take care of this, it's not fun to spend time on such //! a simple mistake) -// # NITs -// - TODO xFrednet 2021-02-13: Collect depreciations and maybe renames - use if_chain::if_chain; use rustc_data_structures::fx::FxHashMap; use rustc_hir::{