From 2040ec8190518db84d1651c596950488750ab567 Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Sun, 25 Aug 2019 20:19:20 +0200 Subject: Fixed a few clippy warnings (but not all) --- src/row.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/row.rs') 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) -> Row { - Row { cells: cells } + Row { cells } } /// Create an row of length `size`, with empty strings stored -- cgit v1.2.3