summaryrefslogtreecommitdiffstats
path: root/src/csv.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2019-08-25 13:25:42 +0200
committerGitHub <noreply@github.com>2019-08-25 13:25:42 +0200
commitd5f0296b2bb5c7c6c3b6347808e6bf37c3264766 (patch)
treea6fb13fdc05a94684fee9859c3355d478852ba3d /src/csv.rs
parentfadaa64ec513177feeb858b0977b4c18899b4961 (diff)
parentffd151ab6ffa7581cae43b2a59cd5c94d406d862 (diff)
Merge pull request #112 from phsym/ed-2018
Updated to rust 2018 edition
Diffstat (limited to 'src/csv.rs')
-rw-r--r--src/csv.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csv.rs b/src/csv.rs
index 55f10e2..417e8e6 100644
--- a/src/csv.rs
+++ b/src/csv.rs
@@ -1,6 +1,6 @@
//! CSV impl and reexported types
-extern crate csv;
+use csv;
pub use self::csv::{Reader, Writer, Result, ReaderBuilder};
use std::path::Path;
@@ -81,7 +81,7 @@ impl super::Table {
#[cfg(test)]
mod tests {
- use {Table, Row, Cell};
+ use crate::{Table, Row, Cell};
static CSV_S: &'static str = "ABC,DEFG,HIJKLMN\n\
foobar,bar,foo\n\