Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
e1ijah1 committed Jan 9, 2023
1 parent ca6f5bc commit 8a5ecd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ impl tokio::io::AsyncSeek for ObjectReader {
}

fn poll_complete(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<u64>> {
let state = self.seek_state.clone();
let state = self.seek_state;
match state {
SeekState::Init => {
// AsyncSeek recommends calling poll_complete before start_seek.
Expand Down

0 comments on commit 8a5ecd4

Please sign in to comment.