diff options
| author | Hamir Mahal <hamirmahal@gmail.com> | 2024-03-10 12:51:33 -0700 |
|---|---|---|
| committer | Hamir Mahal <hamirmahal@gmail.com> | 2024-03-10 12:51:33 -0700 |
| commit | 9c51fd99aaac804da599067d1b62057c8c10ca63 (patch) | |
| tree | 27ea09828155d1ef0ebc368c86f71a34fa84f759 | |
| parent | 86717f2f0c9630e51d8ab8fefb997db89d38ad8f (diff) | |
| download | rust-9c51fd99aaac804da599067d1b62057c8c10ca63.tar.gz rust-9c51fd99aaac804da599067d1b62057c8c10ca63.zip | |
refactor: readability improvement for `seek` lint
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 830dc28a4b8..71dc45a477c 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -3183,8 +3183,8 @@ declare_clippy_lint! { declare_clippy_lint! { /// ### What it does /// - /// Checks an argument of `seek` method of `Seek` trait - /// and if it start seek from `SeekFrom::Current(0)`, suggests `stream_position` instead. + /// Checks if the `seek` method of the `Seek` trait is called with `SeekFrom::Current(0)`, + /// and if it is, suggests using `stream_position` instead. /// /// ### Why is this bad? /// |
