add rustfmt.toml, format entire codebase
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
9fd521f041
commit
f419c64aca
144 changed files with 25573 additions and 31053 deletions
|
@ -15,8 +15,5 @@ pub use utils::error::{Error, Result};
|
|||
pub static SERVICES: RwLock<Option<&'static Services<'static>>> = RwLock::new(None);
|
||||
|
||||
pub fn services() -> &'static Services<'static> {
|
||||
SERVICES
|
||||
.read()
|
||||
.unwrap()
|
||||
.expect("SERVICES should be initialized when this is called")
|
||||
SERVICES.read().unwrap().expect("SERVICES should be initialized when this is called")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue