diff options
Diffstat (limited to 'test/src/lib.rs')
-rw-r--r-- | test/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/src/lib.rs b/test/src/lib.rs index 73726f08..982cc2c1 100644 --- a/test/src/lib.rs +++ b/test/src/lib.rs @@ -105,8 +105,8 @@ use crate::core::window; use crate::core::{ Element, Event, Font, Point, Rectangle, Settings, Size, SmolStr, }; -use crate::runtime::user_interface; use crate::runtime::UserInterface; +use crate::runtime::user_interface; use std::borrow::Cow; use std::fs; @@ -459,7 +459,9 @@ where } /// Turns the [`Simulator`] into the sequence of messages produced by any interactions. - pub fn into_messages(self) -> impl Iterator<Item = Message> { + pub fn into_messages( + self, + ) -> impl Iterator<Item = Message> + use<Message, Theme, Renderer> { self.messages.into_iter() } } |