Skip to content

Commit

Permalink
Use MessageResult::Stale instead of MessageResult::Nop
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Nov 9, 2023
1 parent bf1bfc2 commit 5e7bb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ impl<T, A> View<T, A> for Cow<'static, str> {
&self,
_id_path: &[xilem_core::Id],
_state: &mut Self::State,
_message: Box<dyn std::any::Any>,
message: Box<dyn std::any::Any>,
_app_state: &mut T,
) -> xilem_core::MessageResult<A> {
xilem_core::MessageResult::Nop
xilem_core::MessageResult::Stale(message)
}
}

0 comments on commit 5e7bb4a

Please sign in to comment.