We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
seek
1 parent 86717f2 commit 9c51fd9Copy full SHA for 9c51fd9
clippy_lints/src/methods/mod.rs
@@ -3183,8 +3183,8 @@ declare_clippy_lint! {
3183
declare_clippy_lint! {
3184
/// ### What it does
3185
///
3186
- /// Checks an argument of `seek` method of `Seek` trait
3187
- /// 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.
3188
3189
/// ### Why is this bad?
3190
0 commit comments