Resolving remaining `Label::message` artifacts. (#894)

Sorry, I should have done this already in #889.
This commit is contained in:
platlas 2025-03-17 17:07:44 +01:00 committed by GitHub
parent 8d322b63a8
commit fcc1c4a6f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ impl<State, Action> View<State, Action, ViewCtx> for Spinner {
_: &mut State,
) -> MessageResult<Action> {
tracing::error!(
"Message arrived in Label::message, but Label doesn't consume any messages, this is a bug"
"Message arrived in Spinner::message, but Spinner doesn't consume any messages, this is a bug"
);
MessageResult::Stale(message)
}

View File

@ -151,7 +151,7 @@ impl<State, Action> View<State, Action, ViewCtx> for VariableLabel {
self.label.message(&mut (), remainder, message, app_state)
} else {
tracing::error!(
"Message arrived in Label::message, but Label doesn't consume any messages, this is a bug"
"Message arrived in VariableLabel::message, but VariableLabel doesn't consume any messages, this is a bug"
);
MessageResult::Stale(message)
}