dep: toml
This commit is contained in:
parent
7d15f5e6a1
commit
fc08eb2e8b
3 changed files with 16 additions and 19 deletions
|
|
@ -311,7 +311,7 @@ impl ConfigToml {
|
|||
let config_str = fs::read_to_string(config_file)?;
|
||||
|
||||
// Check unused fields during deserialization
|
||||
let t = toml::de::Deserializer::new(&config_str);
|
||||
let t = toml::Deserializer::parse(&config_str)?;
|
||||
let mut unused = ahash::HashSet::default();
|
||||
|
||||
let res = serde_ignored::deserialize(t, |path| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue