diff options
Diffstat (limited to 'src/file/yaml.rs')
-rw-r--r-- | src/file/yaml.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file/yaml.rs b/src/file/yaml.rs index 00b749c..7a70a4e 100644 --- a/src/file/yaml.rs +++ b/src/file/yaml.rs @@ -20,7 +20,9 @@ impl Content { let mut root = match docs.len() { 0 => yaml::Yaml::Hash(BTreeMap::new()), 1 => mem::replace(&mut docs[0], yaml::Yaml::Null), - n => { return Err(Box::new(MultipleDocumentsError(n))); } + n => { + return Err(Box::new(MultipleDocumentsError(n))); + } }; // Limit to namespace |