From 0796d0ab36a4060b480f87502696edd6e389a9f0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 2 Dec 2015 11:48:49 +0100 Subject: [PATCH] Fixup: File::from_parser_result() gets module now as well --- src/storage/backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/backend.rs b/src/storage/backend.rs index 8c069e38..f3e584e4 100644 --- a/src/storage/backend.rs +++ b/src/storage/backend.rs @@ -181,7 +181,7 @@ impl StorageBackend { fs.read_to_string(&mut s); debug!("Success reading file with id '{}'", id); debug!("Parsing to internal structure now"); - p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(id, h, d))).ok() + p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(m, id.clone(), h, d))).ok() } else { debug!("No file with id '{}'", id); None