Skip to content

Commit 9c51fd9

Browse files
committed
refactor: readability improvement for seek lint
1 parent 86717f2 commit 9c51fd9

File tree

1 file changed

+2
-2
lines changed
  • clippy_lints/src/methods

1 file changed

+2
-2
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3183,8 +3183,8 @@ declare_clippy_lint! {
31833183
declare_clippy_lint! {
31843184
/// ### What it does
31853185
///
3186-
/// Checks an argument of `seek` method of `Seek` trait
3187-
/// and if it start seek from `SeekFrom::Current(0)`, suggests `stream_position` instead.
3186+
/// Checks if the `seek` method of the `Seek` trait is called with `SeekFrom::Current(0)`,
3187+
/// and if it is, suggests using `stream_position` instead.
31883188
///
31893189
/// ### Why is this bad?
31903190
///

0 commit comments

Comments
 (0)