summaryrefslogtreecommitdiffstats
path: root/src/row.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2019-08-26 22:00:25 +0200
committerGitHub <noreply@github.com>2019-08-26 22:00:25 +0200
commit6bb234c979f8153f8ee8eede5cbb9a1ae2658f23 (patch)
tree3240b3ffdd53f569627d63484030bba6f15b3dd2 /src/row.rs
parentbdfb15081cf5e44934a08941f18a6eaba8275e1e (diff)
parent2040ec8190518db84d1651c596950488750ab567 (diff)
Merge pull request #114 from phsym/printstd-nopanic
Remove panic in print_tty and return a Result
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 dd3efcf..d3a9d86 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