about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHamir Mahal <hamirmahal@gmail.com>2024-03-10 12:51:33 -0700
committerHamir Mahal <hamirmahal@gmail.com>2024-03-10 12:51:33 -0700
commit9c51fd99aaac804da599067d1b62057c8c10ca63 (patch)
tree27ea09828155d1ef0ebc368c86f71a34fa84f759
parent86717f2f0c9630e51d8ab8fefb997db89d38ad8f (diff)
downloadrust-9c51fd99aaac804da599067d1b62057c8c10ca63.tar.gz
rust-9c51fd99aaac804da599067d1b62057c8c10ca63.zip
refactor: readability improvement for `seek` lint
-rw-r--r--clippy_lints/src/methods/mod.rs4
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?
     ///