mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -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> {
|
pub struct Popup<'a> {
|
||||||
id: Id,
|
id: Id,
|
||||||
ctx: Context,
|
ctx: Context,
|
||||||
|
|||||||
Reference in New Issue
Block a user