From 887e5ff844efe5a6397ebfdf7333d3e3ec700ef4 Mon Sep 17 00:00:00 2001 From: Valerii Hiora Date: Sat, 3 Jan 2015 15:28:22 +0200 Subject: 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 --- src/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser.rs') 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, -- cgit v1.2.3