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.