diff options
author | Timo Kösters <timo@koesters.xyz> | 2022-10-05 09:34:25 +0200 |
---|---|---|
committer | Nyaaori <+@nyaaori.cat> | 2022-10-10 14:02:00 +0200 |
commit | 8708cd3b633d88d260982563f2e2826bc8b12038 (patch) | |
tree | 5e1fd0c0a2326bfea5b4ce537b3800dc7f0cd435 /src/lib.rs | |
parent | bd8b616ca01983b5f029095e168146693ffe9dcd (diff) | |
download | conduit-8708cd3b633d88d260982563f2e2826bc8b12038.zip |
431 errors left
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 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() } |