summaryrefslogtreecommitdiffstats
path: root/src/row.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2019-08-25 20:19:20 +0200
committerPierre-Henri Symoneaux <pierre.henri.symoneaux@gmail.com>2019-08-25 20:19:20 +0200
commit2040ec8190518db84d1651c596950488750ab567 (patch)
treed318f6a8e2b59c5c208f62c92ad9d9cd65d28d3a /src/row.rs
parentcb6a033d7a212674c356c1a8365511abe2b4fca9 (diff)
Fixed a few clippy warnings (but not all)
Diffstat (limited to 'src/row.rs')
-rw-r--r--src/row.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/row.rs b/src/row.rs
index 94c0d8e..ccb1914 100644
--- a/src/row.rs
+++ b/src/row.rs
@@ -20,7 +20,7 @@ pub struct Row {
impl Row {
/// Create a new `Row` backed with `cells` vector
pub fn new(cells: Vec<Cell>) -> Row {
- Row { cells: cells }
+ Row { cells }
}
/// Create an row of length `size`, with empty strings stored