Fix doc on CloseButton::bundle()

This commit is contained in:
2025-08-26 13:38:12 -05:00
parent 9411e57759
commit 112b22875a

View File

@@ -184,7 +184,7 @@ impl BigRedButton {
pub struct CloseButton(Entity); pub struct CloseButton(Entity);
impl CloseButton { impl CloseButton {
/// Spawn a button that will despawn the top-most node when pressed. /// Default bundle for a panel's close button. Pass in the entity to despawn.
/// ///
/// TODO: Pass in the UiTheme struct /// TODO: Pass in the UiTheme struct
fn bundle(target: Entity) -> impl Bundle { fn bundle(target: Entity) -> impl Bundle {