summaryrefslogtreecommitdiffstats
path: root/src/csv.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/csv.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/csv.rs')
-rw-r--r--src/csv.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csv.rs b/src/csv.rs
index 417e8e6..9c5cd9f 100644
--- a/src/csv.rs
+++ b/src/csv.rs
@@ -83,9 +83,9 @@ impl super::Table {
mod tests {
use crate::{Table, Row, Cell};
- static CSV_S: &'static str = "ABC,DEFG,HIJKLMN\n\
- foobar,bar,foo\n\
- foobar2,bar2,foo2\n";
+ static CSV_S: &str = "ABC,DEFG,HIJKLMN\n\
+ foobar,bar,foo\n\
+ foobar2,bar2,foo2\n";
fn test_table() -> Table {
let mut table = Table::new();