Skip to content

Commit

Permalink
fix typo in Ui::button documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
malikolivier committed Sep 23, 2021
1 parent 7660776 commit 49702e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion imgui/src/widget/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ impl<'ui> Ui<'ui> {
/// This is the equivalent of [button_with_size](Self::button_with_size)
/// with `size` set to `[0.0, 0.0]`, which will size the button to the
/// label's width in the current style.
/// the current style.
#[doc(alias = "Button")]
pub fn button(&self, label: impl AsRef<str>) -> bool {
self.button_with_size(label, [0.0, 0.0])
Expand Down

0 comments on commit 49702e0

Please sign in to comment.