diff options
Diffstat (limited to 'native')
-rw-r--r-- | native/src/widget/text_input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs index 7a171d57..7d1a7415 100644 --- a/native/src/widget/text_input.rs +++ b/native/src/widget/text_input.rs @@ -526,8 +526,8 @@ where fn hash_layout(&self, state: &mut Hasher) { use std::{any::TypeId, hash::Hash}; - struct TextInputWidget; - TypeId::of::<TextInputWidget>().hash(state); + struct Marker; + TypeId::of::<Marker>().hash(state); self.width.hash(state); self.max_width.hash(state); |