Skip to content

Commit

Permalink
Fix toml output per toml-rs/toml-rs#142
Browse files Browse the repository at this point in the history
  • Loading branch information
gcochard authored and nickray committed Sep 6, 2022
1 parent 39eeaad commit 8816374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/lpc55/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ fn try_main(args: clap::ArgMatches) -> anyhow::Result<()> {
io::stdout().write_all(&data).unwrap()
}
}
"toml" => println!("{}", toml::to_string(&pfr).unwrap()),
"toml" => println!("{}", toml::Value::try_from(&pfr).unwrap()),
"yaml" => println!("{}", serde_yaml::to_string(&pfr).unwrap()),
// "yaml-pretty" => println!("{}", serde_yaml::to_string_pretty(&pfr).unwrap()),
_ => panic!(),
Expand Down

0 comments on commit 8816374

Please sign in to comment.