summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
Diffstat (limited to 'lazy')
-rw-r--r--lazy/src/component.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs
index 4136aa9f..00c27989 100644
--- a/lazy/src/component.rs
+++ b/lazy/src/component.rs
@@ -271,8 +271,11 @@ where
.map(|overlay| overlay.position())
});
- has_overlay.map(|pos| {
- overlay::Element::new(pos, Box::new(Overlay { instance: self }))
+ has_overlay.map(|position| {
+ overlay::Element::new(
+ position,
+ Box::new(Overlay { instance: self }),
+ )
})
}
}