chore: reduce local stack warnings
This commit is contained in:
parent
4743bb8ec9
commit
675f3b59e3
15 changed files with 63 additions and 48 deletions
|
|
@ -83,7 +83,7 @@ where
|
|||
.width(builder.width)
|
||||
.height(builder.height);
|
||||
|
||||
let mut button = super::custom_image_button(content, builder.variant.on_remove)
|
||||
let button = super::custom_image_button(content, builder.variant.on_remove)
|
||||
.padding(0)
|
||||
.selected(builder.variant.selected)
|
||||
.id(builder.id)
|
||||
|
|
@ -91,9 +91,11 @@ where
|
|||
.class(builder.class);
|
||||
|
||||
#[cfg(feature = "a11y")]
|
||||
{
|
||||
let button = {
|
||||
let mut button = button;
|
||||
button = button.name(builder.name).description(builder.description);
|
||||
}
|
||||
button
|
||||
};
|
||||
|
||||
button.into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue