From 294013de021630b92a0436ce488858f69da7ff1a Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Fri, 28 Oct 2022 10:24:33 +0200 Subject: [PATCH] sequence enumerate(): rename variable --- nested/src/sequence/enumerate.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nested/src/sequence/enumerate.rs b/nested/src/sequence/enumerate.rs index 69c661c..9a46af8 100644 --- a/nested/src/sequence/enumerate.rs +++ b/nested/src/sequence/enumerate.rs @@ -14,13 +14,13 @@ impl OuterViewPort> { let port = ViewPort::new(); port.add_update_hook(Arc::new(self.0.clone())); - let map = Arc::new(RwLock::new(EnumerateSequence { + let view = Arc::new(RwLock::new(EnumerateSequence { src_view: None, cast: port.inner().get_broadcast(), })); - self.add_observer(map.clone()); - port.inner().set_view(Some(map)); + self.add_observer(view.clone()); + port.inner().set_view(Some(view)); port.into_outer() } }