Remove livetimes
This commit is contained in:
parent
bfccbc32c5
commit
86286cce1b
2 changed files with 1 additions and 3 deletions
|
@ -7,10 +7,8 @@ use std::result::Result;
|
||||||
|
|
||||||
use storage::backend::StorageBackend;
|
use storage::backend::StorageBackend;
|
||||||
use self::command::ExecutableCommand;
|
use self::command::ExecutableCommand;
|
||||||
use module::todo::TodoModule;
|
|
||||||
|
|
||||||
mod command;
|
mod command;
|
||||||
pub mod todo;
|
|
||||||
pub mod bm;
|
pub mod bm;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
|
@ -189,7 +189,7 @@ impl StorageBackend {
|
||||||
* TODO: Needs refactoring, as there might be an error when reading from
|
* TODO: Needs refactoring, as there might be an error when reading from
|
||||||
* disk OR the id just does not exist.
|
* disk OR the id just does not exist.
|
||||||
*/
|
*/
|
||||||
pub fn get_file_by_id<'a, HP>(&self, m: &'a Module, id: &FileID, p: &Parser<HP>) -> Option<File<'a>>
|
pub fn get_file_by_id<HP>(&self, id: FileID, p: &Parser<HP>) -> Option<File>
|
||||||
where HP: FileHeaderParser
|
where HP: FileHeaderParser
|
||||||
{
|
{
|
||||||
debug!("Searching for file with id '{}'", id);
|
debug!("Searching for file with id '{}'", id);
|
||||||
|
|
Loading…
Reference in a new issue