Update to rust master

This commit is contained in:
Alex Crichton 2014-12-06 14:48:32 -08:00
parent 1297910d25
commit b6e487e05b

View file

@ -77,8 +77,11 @@ pub enum Value {
Table(TomlTable),
}
pub type TomlArray = Vec<Value>;
pub type TomlTable = TreeMap<string::String, Value>;
/// Type representing a TOML array, payload of the Value::Array variant
pub type Array = Vec<Value>;
/// Type representing a TOML table, payload of the Value::Table variant
pub type Table = TreeMap<string::String, Value>;
impl Value {
/// Tests whether this and another value have the same type.