diff options
| author | Philipp Krones <hello@philkrones.com> | 2023-01-27 20:21:37 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-01-27 20:26:35 +0100 |
| commit | 2bc2431fd18c212ca081f67f4d853645f83437f5 (patch) | |
| tree | c86f5bf3ad33a6dca050110cec70e0bc38fac1cd /clippy_lints/src/methods | |
| parent | a64940f948757ffe4b0705726b497b552801a93d (diff) | |
| parent | 54e929bddee5934c527894fabee8a2c48531a795 (diff) | |
| download | rust-2bc2431fd18c212ca081f67f4d853645f83437f5.tar.gz rust-2bc2431fd18c212ca081f67f4d853645f83437f5.zip | |
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'clippy_lints/src/methods')
| -rw-r--r-- | clippy_lints/src/methods/inefficient_to_string.rs | 2 | ||||
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/methods/inefficient_to_string.rs b/clippy_lints/src/methods/inefficient_to_string.rs index 424482859ee..122088f4857 100644 --- a/clippy_lints/src/methods/inefficient_to_string.rs +++ b/clippy_lints/src/methods/inefficient_to_string.rs @@ -7,7 +7,7 @@ use rustc_errors::Applicability; use rustc_hir as hir; use rustc_lint::LateContext; use rustc_middle::ty::{self, Ty}; -use rustc_span::symbol::{Symbol, sym}; +use rustc_span::symbol::{sym, Symbol}; use super::INEFFICIENT_TO_STRING; diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 77be61b4793..42377a3d138 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -3102,7 +3102,7 @@ declare_clippy_lint! { /// Ok(()) /// } /// ``` - #[clippy::version = "1.66.0"] + #[clippy::version = "1.67.0"] pub SEEK_FROM_CURRENT, complexity, "use dedicated method for seek from current position" @@ -3133,7 +3133,7 @@ declare_clippy_lint! { /// t.rewind(); /// } /// ``` - #[clippy::version = "1.66.0"] + #[clippy::version = "1.67.0"] pub SEEK_TO_START_INSTEAD_OF_REWIND, complexity, "jumping to the start of stream using `seek` method" |
