Skip to content

Commit

Permalink
Normalize import style
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Dec 23, 2021
1 parent 5c69af1 commit 0626585
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/iter.rs
@@ -1,18 +1,19 @@
use crate::progress_bar::ProgressBar;
use crate::style::ProgressStyle;
use std::borrow::Cow;
use std::convert::TryFrom;
use std::io::{self, IoSliceMut};
use std::iter::FusedIterator;
use std::time::Duration;
#[cfg(feature = "tokio")]
use std::{
pin::Pin,
task::{Context, Poll},
};
use std::pin::Pin;
#[cfg(feature = "tokio")]
use std::task::{Context, Poll};
use std::time::Duration;

#[cfg(feature = "tokio")]
use tokio::io::{ReadBuf, SeekFrom};

use crate::progress_bar::ProgressBar;
use crate::style::ProgressStyle;

/// Wraps an iterator to display its progress.
pub trait ProgressIterator
where
Expand Down

0 comments on commit 0626585

Please sign in to comment.