diff --git a/src/storage/backend.rs b/src/storage/backend.rs index 5bc27103..d4e6c61c 100644 --- a/src/storage/backend.rs +++ b/src/storage/backend.rs @@ -189,7 +189,7 @@ impl StorageBackend { * TODO: Needs refactoring, as there might be an error when reading from * disk OR the id just does not exist. */ - pub fn get_file_by_id<'a, HP>(&self, m: &'a Module, id: FileID, p: &Parser) -> Option> + pub fn get_file_by_id<'a, HP>(&self, m: &'a Module, id: &FileID, p: &Parser) -> Option> where HP: FileHeaderParser { debug!("Searching for file with id '{}'", id);