(hopefully) cute readme

master
Avril 4 years ago
parent 69d1fe8afb
commit c22c63c142
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -71,6 +71,9 @@ The library comes with traits for progress bars: `[ProgressBar][progress-bar]`,
The default implementations for these are `Bar` and `Spin`, but you can provide your own implementations too for more customisability The default implementations for these are `Bar` and `Spin`, but you can provide your own implementations too for more customisability
[progress-bar]: ./src/inter.rs
[spinner]: ./src/inter.rs
``` rust ``` rust
pub fn does_work<P: ProgressBar>(bar: &mut P) pub fn does_work<P: ProgressBar>(bar: &mut P)
{ {

Loading…
Cancel
Save