Update to rust master
This commit is contained in:
parent
1297910d25
commit
b6e487e05b
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue