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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user