aboutsummaryrefslogtreecommitdiff
path: root/src/parser.rs
diff options
context:
space:
mode:
authorValerii Hiora <valerii.hiora@gmail.com>2015-01-03 15:28:22 +0200
committerValerii Hiora <valerii.hiora@gmail.com>2015-01-03 18:01:19 +0200
commit887e5ff844efe5a6397ebfdf7333d3e3ec700ef4 (patch)
treebf5b8a2804d730b37f4c30a137d3b640c42f8c82 /src/parser.rs
parent2557fc9ab98fd4ee4c894b05f1eda903773c4558 (diff)
downloadmilf-rs-887e5ff844efe5a6397ebfdf7333d3e3ec700ef4.tar.gz
milf-rs-887e5ff844efe5a6397ebfdf7333d3e3ec700ef4.zip
Update to master
- updated `rustc-serialize` dependency, in other case `toml-rs` prohibits `rustc-serialize` update on other crates - updated after syntax and lib changes
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,