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::().hash(state); + struct Marker; + TypeId::of::().hash(state); self.width.hash(state); self.max_width.hash(state);