From 1588375e7dcc2d97ce99cea51fc506caf0f17632 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Sat, 5 Nov 2022 23:44:16 +0100 Subject: [PATCH] fix style --- nested/src/core/observer.rs | 2 +- nested/src/core/port.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nested/src/core/observer.rs b/nested/src/core/observer.rs index 7330916..f1b848d 100644 --- a/nested/src/core/observer.rs +++ b/nested/src/core/observer.rs @@ -7,7 +7,7 @@ use { std::sync::{Arc, Weak}, }; -/*\ + /*\ <<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>> Observer <<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>> diff --git a/nested/src/core/port.rs b/nested/src/core/port.rs index 5d03f0d..0cba29d 100644 --- a/nested/src/core/port.rs +++ b/nested/src/core/port.rs @@ -47,7 +47,7 @@ where pub fn get_cast(&self) -> Arc>> { self.cast.clone() } - + pub fn add_observer(&self, observer: Arc>>) { self.update(); self.cast