Skip to content

Commit

Permalink
Fix incorrect interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 5, 2024
1 parent dc1d77b commit 7c69550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuit-core/src/compose/view/layout/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ macro_rules! impl_stack {
if let Some(head) = id_path.head() {
match head {
Id::Index(0) => self.wrapped.fire(event, &id_path.tail()),
i => panic!("Cannot fire event for child id {} on $name which only has one child", i)
i => panic!("Cannot fire event for child id {} on {} which only has one child", i, stringify!($name)),
}
}
}
Expand Down

0 comments on commit 7c69550

Please sign in to comment.