Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lib.rs #40

Merged
merged 2 commits into from
Dec 11, 2016
Merged

Update lib.rs #40

merged 2 commits into from
Dec 11, 2016

Conversation

k0pernicus
Copy link
Contributor

Exposing Pipe in lib.rs

@@ -115,7 +115,7 @@ macro_rules! printfl {
extern crate time;
mod tty;
mod pb;
mod multi;
pub mod multi;
pub use pb::{ProgressBar, Units};
pub use multi::MultiBar;
Copy link
Owner

@a8m a8m Dec 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you expose it like this: pub use multi::{MultiBar, Pipe}? this way it will be easy to use imo

Follow your example:

use pbr::{MultiBar, ProgressBar, Pipe};

// ...

let mut pb: ProgressBar<Pipe>;

Thanks

Change exposure of `Pipe`
@k0pernicus
Copy link
Contributor Author

@a8m No problem - thanks for the review ;-)

@a8m a8m merged commit 6db80d5 into a8m:master Dec 11, 2016
@a8m
Copy link
Owner

a8m commented Dec 11, 2016

Awesome.
Thanks @k0pernicus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants