mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 03:01:04 +02:00
refactor: fix new clippy warnings
This commit is contained in:
parent
ecdd71a43d
commit
6221f7454a
2 changed files with 4 additions and 4 deletions
|
@ -116,7 +116,7 @@ impl Widget {
|
|||
let mut builder = Label::builder().use_markup(true);
|
||||
|
||||
if let Some(name) = self.name {
|
||||
builder = builder.name(&name);
|
||||
builder = builder.name(name);
|
||||
}
|
||||
|
||||
let label = builder.build();
|
||||
|
@ -143,7 +143,7 @@ impl Widget {
|
|||
let mut builder = Button::builder();
|
||||
|
||||
if let Some(name) = self.name {
|
||||
builder = builder.name(&name);
|
||||
builder = builder.name(name);
|
||||
}
|
||||
|
||||
let button = builder.build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue