diff options
Diffstat (limited to 'src/ast.rs')
-rw-r--r-- | src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -371,7 +371,7 @@ impl YamlMetadata { fn mapping_to_pandoc(mapping: &Mapping) -> MetaValue { let mut map = Map::new(); for (key, value) in mapping.iter() { - let key = if let MetaValue::MetaString(s) = value_to_pandoc(&key) { + let key = if let MetaValue::MetaString(s) = value_to_pandoc(key) { s } else { panic!("key not a string: {:?}", key); |