diff options
author | Alex Crichton <alex@alexcrichton.com> | 2014-12-06 14:48:32 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-06 14:48:32 -0800 |
commit | b6e487e05bcc1696c2d5665e12c65257b51336b5 (patch) | |
tree | 29fe996bea76f8ccf5000ebc561e251f3cf0a908 /src | |
parent | 1297910d25afab423dbc3161e7e51a93f286b574 (diff) | |
download | milf-rs-b6e487e05bcc1696c2d5665e12c65257b51336b5.tar.gz milf-rs-b6e487e05bcc1696c2d5665e12c65257b51336b5.zip |
Update to rust master
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. |