mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
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
This commit is contained in:
commit
02156dcf09
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue