aboutsummaryrefslogtreecommitdiff
path: root/src/parser.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-03 14:29:16 -0600
committerAlex Crichton <alex@alexcrichton.com>2015-01-03 14:29:16 -0600
commita5863e764d2d54199deb9d7c1c46fa67869eaf29 (patch)
treebf5b8a2804d730b37f4c30a137d3b640c42f8c82 /src/parser.rs
parent2557fc9ab98fd4ee4c894b05f1eda903773c4558 (diff)
parent887e5ff844efe5a6397ebfdf7333d3e3ec700ef4 (diff)
downloadmilf-rs-a5863e764d2d54199deb9d7c1c46fa67869eaf29.tar.gz
milf-rs-a5863e764d2d54199deb9d7c1c46fa67869eaf29.zip
Merge pull request #43 from vhbit/upd-deps
Updated serialize dependency
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs4
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,