diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2024-06-30 23:56:39 +0200 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2024-07-01 07:09:53 +0200 |
| commit | eb1b24a97a5794fe62e83964700ec233b8dd5f32 (patch) | |
| tree | 0277a85041ef02c0960d13677e6a997cf2ff82bd | |
| parent | 06758d8d7f498a773b4d18c35eed1f6c0a0a6564 (diff) | |
| download | rust-eb1b24a97a5794fe62e83964700ec233b8dd5f32.tar.gz rust-eb1b24a97a5794fe62e83964700ec233b8dd5f32.zip | |
`manual_inspect`: fix `clippy::version` from 1.78.0 to 1.81.0
Although `manual_inspect`'s PR started some months ago, the lint is only available in the current nightly (1.81.0), rather than 1.78.0. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 1408f454820..c5d44e620f2 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -4121,7 +4121,7 @@ declare_clippy_lint! { /// ```no_run /// let x = Some(0).inspect(|x| println!("{x}")); /// ``` - #[clippy::version = "1.78.0"] + #[clippy::version = "1.81.0"] pub MANUAL_INSPECT, complexity, "use of `map` returning the original item" |
