diff options
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.rs b/src/parser.rs index f49435e..f6a1ac3 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -5,7 +5,7 @@ use std::num::FromStrRadix; use std::str; use Table as TomlTable; -use Value::{mod, Array, Table, Float, Integer, Boolean, Datetime}; +use Value::{self, Array, Table, Float, Integer, Boolean, Datetime}; /// Parser for converting a string to a TOML `Value` instance. /// @@ -27,7 +27,7 @@ pub struct Parser<'a> { /// /// The data in this structure can be used to trace back to the original cause /// of the error in order to provide diagnostics about parse errors. -#[deriving(Show)] +#[derive(Show)] pub struct ParserError { /// The low byte at which this error is pointing at. pub lo: uint, |