1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Mark Popup with #[must_use]

This commit is contained in:
Emil Ernerfeldt
2025-07-07 12:02:51 +02:00
parent 6d80707422
commit 3622a03a46

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,