1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-11-05 03:48:52 +01:00

Reformat code

This commit is contained in:
Torsten Flammiger 2022-01-13 12:26:23 +01:00
parent 7f2445be6c
commit eecd664c43

View file

@ -35,10 +35,10 @@ impl Appservice {
pub fn unregister_appservice(&self, service_name: &str) -> Result<()> {
self.id_appserviceregistrations
.remove(service_name.as_bytes())?;
self.cached_registrations.
write().
unwrap().
remove(service_name);
self.cached_registrations
.write()
.unwrap()
.remove(service_name);
Ok(())
}