Merge pull request #301 from nickelc/from_table

implement From<toml::value::Table> for toml::Value
This commit is contained in:
Alex Crichton 2019-04-09 09:07:45 -05:00 committed by GitHub
commit d37f25714d

View file

@ -310,6 +310,7 @@ impl_into_value!(Float: f64);
impl_into_value!(Float: f32); impl_into_value!(Float: f32);
impl_into_value!(Boolean: bool); impl_into_value!(Boolean: bool);
impl_into_value!(Datetime: Datetime); impl_into_value!(Datetime: Datetime);
impl_into_value!(Table: Table);
/// Types that can be used to index a `toml::Value` /// Types that can be used to index a `toml::Value`
/// ///