Fix test usage
1 files changed, 2 insertions(+), 5 deletions(-) M test_usage/src/main.rs
M test_usage/src/main.rs => test_usage/src/main.rs +2 -5
@@ 1,16 1,13 @@ use std::collections::HashMap; use decent_toml_rs_alternative as toml; use decent_serde_toml_derive_alternative::{FromToml, ToToml}; use toml::{FromToml, ToToml}; #[derive(Debug, FromToml, ToToml)] enum X { A(u8), B { y: Y, hello: u8 }, C C, } @@ #[derive(Debug, FromToml, ToToml)] 28,7 25,7 @@ fn main() { [payload] hello = 200 "#; let lines = toml::parse_toml_lines(toml_input).unwrap(); let toml = toml::TomlValue::Table(toml::toml_value_from_lines(lines).unwrap());