431 errors left
This commit is contained in:
parent
bd8b616ca0
commit
8708cd3b63
32 changed files with 640 additions and 973 deletions
|
@ -28,7 +28,7 @@ enum ServicesEnum {
|
|||
Rocksdb(Services<KeyValueDatabase>)
|
||||
}
|
||||
|
||||
pub fn services() -> Services<KeyValueDatabase> {
|
||||
SERVICES.read().unwrap()
|
||||
pub fn services<'a>() -> &'a Services<KeyValueDatabase> {
|
||||
&SERVICES.read().unwrap()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue