summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-20 13:50:42 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-20 13:50:42 +0700
commita1311bcc5e28074bed3d3a88386e3e8b4445905c (patch)
treec463a1ea235b29f16098f5ad06c53b88b1eb7cd4 /lazy
parent41bd984d6bf629bf2e9e6c45c800ff2fd4bf75b2 (diff)
downloadiced-a1311bcc5e28074bed3d3a88386e3e8b4445905c.tar.gz
iced-a1311bcc5e28074bed3d3a88386e3e8b4445905c.tar.bz2
iced-a1311bcc5e28074bed3d3a88386e3e8b4445905c.zip
Remove `position` abbreviation in `Component`
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 }),
+ )
})
}
}