diff options
author | Nyaaori <+@nyaaori.cat> | 2022-11-21 09:51:39 +0100 |
---|---|---|
committer | Nyaaori <+@nyaaori.cat> | 2022-11-21 20:50:39 +0100 |
commit | 66bc41125c244b3a1d17a5590882ba1b71212cc7 (patch) | |
tree | a99227d5e899bd7f3bd1250925f17abf1a4f5b4e /src/lib.rs | |
parent | 6786c44f4df96e7505b68c165b6a275b556f7ab6 (diff) | |
download | conduit-66bc41125c244b3a1d17a5590882ba1b71212cc7.zip |
refactor: cleanup
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ pub use utils::error::{Error, Result}; pub static SERVICES: RwLock<Option<&'static Services>> = RwLock::new(None); -pub fn services<'a>() -> &'static Services { +pub fn services() -> &'static Services { SERVICES .read() .unwrap() |