🚧 Doc and code tweaks

This commit is contained in:
Manuel Cillero 2024-02-27 17:51:09 +01:00
parent 812d5d0506
commit cb38145bf5
2 changed files with 38 additions and 13 deletions

View file

@ -67,11 +67,7 @@ where
fn collect(&self) -> Result<HashMap<String, Value>> {
// Coerce the file contents to a string.
let (uri, contents) = match self
.source
.resolve()
.map_err(ConfigError::Foreign)
{
let (uri, contents) = match self.source.resolve().map_err(ConfigError::Foreign) {
Ok((uri, contents)) => (uri, contents),
Err(error) => {