Skip to content

Commit 02156dc

Browse files
committed
Auto merge of #12458 - hamirmahal:refactor/readability-improvement, r=dswij
[`seek_from_current`]: readability improvements fixes #12457. --- *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: [`seek_from_current`]: readability improvements
2 parents 86717f2 + 9c51fd9 commit 02156dc

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)