Skip to content

Commit

Permalink
io: Remove not used debug print (#48)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Feb 23, 2022
1 parent a865fc5 commit cd7eff1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ impl AsyncSeek for Reader {
pos: SeekFrom,
) -> Poll<std::io::Result<u64>> {
if let ReadState::Seeking(future) = &mut self.state {
println!("poll seek");
match ready!(Pin::new(future).poll(cx)) {
Ok(meta) => self.total_size = Some(meta.content_length()),
Err(e) => return Poll::Ready(Err(io::Error::from(e))),
Expand All @@ -144,7 +143,6 @@ impl AsyncSeek for Reader {

let future = async move { acc.stat(&op).await };

println!("into seek state");
self.state = ReadState::Seeking(Box::pin(future));
return self.poll_seek(cx, pos);
}
Expand Down

0 comments on commit cd7eff1

Please sign in to comment.