Fix serde to compile on master again

This commit is contained in:
Erick Tryzelaar
2014-11-22 16:27:01 -08:00
parent ff8c8c77cc
commit 857723dff6
15 changed files with 1115 additions and 1094 deletions
+6 -2
View File
@@ -31,7 +31,9 @@ mod decoder {
use std::collections::hash_map::MoveEntries;
use serialize;
use super::{Error, EndOfStream, SyntaxError, OtherError};
use super::Error;
use super::Error::{EndOfStream, SyntaxError, OtherError};
use self::Value::{StringValue, IntValue};
enum Value {
StringValue(String),
@@ -172,7 +174,9 @@ mod deserializer {
use std::collections::HashMap;
use std::collections::hash_map::MoveEntries;
use super::{Error, EndOfStream, SyntaxError};
use super::Error;
use super::Error::{EndOfStream, SyntaxError};
use self::State::{StartState, KeyOrEndState, ValueState, EndState};
use serde::de;