summaryrefslogtreecommitdiffstats
path: root/widget/src/combo_box.rs
diff options
context:
space:
mode:
authorLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
committerLibravatar bbb651 <bar.ye651@gmail.com>2024-09-29 16:37:35 +0300
commit7a86900a45116994a4a175c8979550b28ec0dcfb (patch)
tree4318ba0219282b246606b37c2344ac4efb5323a3 /widget/src/combo_box.rs
parentafecc0f367aff12fa353c8158fac3098ffe40136 (diff)
downloadiced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.gz
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.tar.bz2
iced-7a86900a45116994a4a175c8979550b28ec0dcfb.zip
Fix various typos
Using https://github.com/crate-ci/typos
Diffstat (limited to 'widget/src/combo_box.rs')
-rw-r--r--widget/src/combo_box.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/combo_box.rs b/widget/src/combo_box.rs
index fb661ad5..e300f1d0 100644
--- a/widget/src/combo_box.rs
+++ b/widget/src/combo_box.rs
@@ -608,8 +608,8 @@ where
..
}) = event
{
- let shift_modifer = modifiers.shift();
- match (named_key, shift_modifer) {
+ let shift_modifier = modifiers.shift();
+ match (named_key, shift_modifier) {
(key::Named::Enter, _) => {
if let Some(index) = &menu.hovered_option {
if let Some(option) =