🚧 Doc and code tweaks
This commit is contained in:
parent
812d5d0506
commit
cb38145bf5
2 changed files with 38 additions and 13 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue