fix style
This commit is contained in:
parent
96e47c3cd5
commit
1588375e7d
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use {
|
|||
std::sync::{Arc, Weak},
|
||||
};
|
||||
|
||||
/*\
|
||||
/*\
|
||||
<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
|
||||
Observer
|
||||
<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue