mirror of
https://github.com/qwjyh/xdbm
synced 2025-07-12 17:49:19 +09:00
fix: add lifetime annotation (clippy)
This commit is contained in:
parent
772689ab6a
commit
8b0dbb2314
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ impl StorageExt for Directory {
|
|||
}
|
||||
|
||||
// Get parent `&Storage` of directory.
|
||||
fn parent<'a>(&'a self, storages: &'a Storages) -> Option<&Storage> {
|
||||
fn parent<'a>(&'a self, storages: &'a Storages) -> Option<&'a Storage> {
|
||||
storages.get(&self.parent)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue