diff options
Diffstat (limited to 'src/file/format/yaml.rs')
-rw-r--r-- | src/file/format/yaml.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/format/yaml.rs b/src/file/format/yaml.rs index c2b26cb..c458c3c 100644 --- a/src/file/format/yaml.rs +++ b/src/file/format/yaml.rs @@ -9,7 +9,7 @@ use yaml_rust as yaml; pub fn parse( uri: Option<&String>, text: &str, -) -> Result<HashMap<String, Value>, Box<Error + Send + Sync>> { +) -> Result<HashMap<String, Value>, Box<dyn Error + Send + Sync>> { // Parse a YAML object from file let mut docs = yaml::YamlLoader::load_from_str(text)?; let root = match docs.len() { |