Mark Popup with #[must_use]

This commit is contained in:
Emil Ernerfeldt
2025-07-07 12:02:51 +02:00
parent 6d80707422
commit 3622a03a46
+1
View File
@@ -160,6 +160,7 @@ impl From<PopupKind> for UiKind {
}
}
#[must_use = "Call `.show()` to actually display the popup"]
pub struct Popup<'a> {
id: Id,
ctx: Context,