aboutsummaryrefslogtreecommitdiff
path: root/src/format-table
diff options
context:
space:
mode:
Diffstat (limited to 'src/format-table')
-rw-r--r--src/format-table/Cargo.toml2
-rw-r--r--src/format-table/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/format-table/Cargo.toml b/src/format-table/Cargo.toml
index b2f074d7..9e31e211 100644
--- a/src/format-table/Cargo.toml
+++ b/src/format-table/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "format_table"
-version = "0.1.0"
+version = "0.1.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "AGPL-3.0"
diff --git a/src/format-table/lib.rs b/src/format-table/lib.rs
index 72fd10b2..55252ba9 100644
--- a/src/format-table/lib.rs
+++ b/src/format-table/lib.rs
@@ -5,7 +5,7 @@
//! ```rust
//! let mut table = vec!["product\tquantity\tprice".to_string()];
//! for (p, q, r) in [("tomato", 12, 15), ("potato", 10, 20), ("rice", 5, 12)] {
-//! table.push(format!("{}\t{}\t{}", p, q, r));
+//! table.push(format!("{}\t{}\t{}", p, q, r));
//! }
//! format_table::format_table(table);
//! ```