Slimline translation from entry to file lock entry
This commit is contained in:
parent
9760f72e79
commit
86ab4ba4b1
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ impl Store {
|
|||
// TODO: update the store entry status
|
||||
|
||||
// make a file lock entry from the store entry
|
||||
store_entry.get_entry().and_then(|entry| Ok(FileLockEntry::new(self, entry, id)))
|
||||
store_entry.get_entry().map(|entry| FileLockEntry::new(self, entry, id))
|
||||
}
|
||||
|
||||
/// Iterate over all StoreIds for one module name
|
||||
|
|
Loading…
Reference in a new issue