Skip to content

Commit

Permalink
Merge pull request #3 from lucab/ups/fix-doctest
Browse files Browse the repository at this point in the history
lib: fix docstring tests
  • Loading branch information
mitsuhiko authored Apr 27, 2017
2 parents 6d285bf + 7839a64 commit 6e97bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//!
//! let bar = ProgressBar::new(1000);
//! for _ in 0..1000 {
//! bar.inc();
//! bar.inc(1);
//! // ...
//! }
//! bar.finish();
Expand All @@ -41,7 +41,7 @@
//! ones in Rust itself. The format for a placeholder is `{key:options}`
//! where the `options` part is optional. If provided the format is this:
//!
//! ```
//! ```text
//! [<^>] for an optional alignment specification
//! WIDTH an optional width as positive integer
//! ! an optional exclamation mark to enable truncation
Expand Down

0 comments on commit 6e97bd0

Please sign in to comment.