sequence enumerate(): rename variable
This commit is contained in:
parent
4b8b857134
commit
294013de02
1 changed files with 3 additions and 3 deletions
|
@ -14,13 +14,13 @@ impl<Item: 'static> OuterViewPort<dyn SequenceView<Item = Item>> {
|
|||
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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue