Merge branch 'v0.6.x'

# Conflicts:
#	serde/src/de/impls.rs
#	serde_codegen/src/de.rs
This commit is contained in:
Erick Tryzelaar
2016-01-28 09:49:15 -08:00
5 changed files with 29 additions and 2 deletions
+6
View File
@@ -1,4 +1,5 @@
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::path::PathBuf;
use num::FromPrimitive;
use num::bigint::{BigInt, BigUint};
@@ -593,4 +594,9 @@ declare_tests! {
Token::SeqEnd,
],
}
test_path_buf {
PathBuf::from("/usr/local/lib") => vec![
Token::String("/usr/local/lib".to_owned()),
],
}
}
+11
View File
@@ -1,4 +1,5 @@
use std::collections::BTreeMap;
use std::path::{Path, PathBuf};
use num::FromPrimitive;
use num::bigint::{BigInt, BigUint};
@@ -293,4 +294,14 @@ declare_ser_tests! {
Token::SeqEnd,
],
}
test_path {
Path::new("/usr/local/lib") => &[
Token::Str("/usr/local/lib"),
],
}
test_path_buf {
PathBuf::from("/usr/local/lib") => &[
Token::Str("/usr/local/lib"),
],
}
}