refactor: readability improvement for seek
lint
This commit is contained in:
parent
86717f2f0c
commit
9c51fd99aa
@ -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…
x
Reference in New Issue
Block a user