fix style

This commit is contained in:
Michael Sippel 2022-11-05 23:44:16 +01:00
parent 96e47c3cd5
commit 1588375e7d
Signed by: senvas
GPG key ID: F96CF119C34B64A6
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ use {
std::sync::{Arc, Weak},
};
/*\
/*\
<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
Observer
<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>

View file

@ -47,7 +47,7 @@ where
pub fn get_cast(&self) -> Arc<RwLock<ObserverBroadcast<V>>> {
self.cast.clone()
}
pub fn add_observer(&self, observer: Arc<RwLock<dyn Observer<V>>>) {
self.update();
self.cast