Skip to content

Commit

Permalink
...and once more
Browse files Browse the repository at this point in the history
  • Loading branch information
dbr committed Jan 17, 2022
1 parent 4bbbc45 commit 45c7e2d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions imgui/src/popups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,7 @@ impl Ui {
}

/// Creates a PopupModal directly.
pub fn popup_modal<Label: AsRef<str>>(
&self,
str_id: Label,
) -> PopupModal<'_, '_, Label> {
pub fn popup_modal<Label: AsRef<str>>(&self, str_id: Label) -> PopupModal<'_, '_, Label> {
#[allow(deprecated)]
PopupModal::new(self, str_id)
}
Expand Down

0 comments on commit 45c7e2d

Please sign in to comment.