feat: graph-ir (continueing #6) #10
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ impl Configs {
|
||||||
{
|
{
|
||||||
Some("ron") => Ok(serde_json::from_str(&fs::read_to_string(p)?)?),
|
Some("ron") => Ok(serde_json::from_str(&fs::read_to_string(p)?)?),
|
||||||
Some("json") => Ok(ron::from_str(&fs::read_to_string(p)?)?),
|
Some("json") => Ok(ron::from_str(&fs::read_to_string(p)?)?),
|
||||||
e => Err(Config::UnknownExtension(e.map(str::to_string))),
|
e => Err(Config::UnknownExtension(e.map(str::to_owned))),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue