From b6e487e05bcc1696c2d5665e12c65257b51336b5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 6 Dec 2014 14:48:32 -0800 Subject: Update to rust master --- src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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; -pub type TomlTable = TreeMap; +/// Type representing a TOML array, payload of the Value::Array variant +pub type Array = Vec; + +/// Type representing a TOML table, payload of the Value::Table variant +pub type Table = TreeMap; impl Value { /// Tests whether this and another value have the same type. -- cgit v1.2.3