aboutsummaryrefslogtreecommitdiff
path: root/src/format-table/lib.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-17 13:06:37 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-17 13:06:37 +0200
commit217d4299379b70d1b081cb88e208ab5f2d1808a7 (patch)
tree3086149203b8cf9f0280c9b8e784eb893b0d7465 /src/format-table/lib.rs
parenta1cec2cd60d64208caa2cbd11d8e6f885e80f630 (diff)
downloadgarage-217d4299379b70d1b081cb88e208ab5f2d1808a7.tar.gz
garage-217d4299379b70d1b081cb88e208ab5f2d1808a7.zip
fix clippy lint in format-table crateformat_table-v0.1.1split-format-table
Diffstat (limited to 'src/format-table/lib.rs')
-rw-r--r--src/format-table/lib.rs2
1 files changed, 1 insertions, 1 deletions
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);
//! ```