diff options
author | Pierre-Henri Symoneaux <phsym@users.noreply.github.com> | 2019-08-26 22:00:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 22:00:25 +0200 |
commit | 6bb234c979f8153f8ee8eede5cbb9a1ae2658f23 (patch) | |
tree | 3240b3ffdd53f569627d63484030bba6f15b3dd2 /src/row.rs | |
parent | bdfb15081cf5e44934a08941f18a6eaba8275e1e (diff) | |
parent | 2040ec8190518db84d1651c596950488750ab567 (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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |