aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-06 14:48:32 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-06 14:48:32 -0800
commitb6e487e05bcc1696c2d5665e12c65257b51336b5 (patch)
tree29fe996bea76f8ccf5000ebc561e251f3cf0a908 /src
parent1297910d25afab423dbc3161e7e51a93f286b574 (diff)
downloadmilf-rs-b6e487e05bcc1696c2d5665e12c65257b51336b5.tar.gz
milf-rs-b6e487e05bcc1696c2d5665e12c65257b51336b5.zip
Update to rust master
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index df6abbc..ea72630 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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.