refactor: fix new clippy warnings

This commit is contained in:
Jake Stanger
2023-03-19 16:20:17 +00:00
parent ecdd71a43d
commit 6221f7454a
2 changed files with 4 additions and 4 deletions

View File

@@ -438,7 +438,7 @@ impl Module<gtk::Box> for LauncherModule {
.into_iter()
.map(|(_, win)| {
let button = Button::builder()
.label(&clamp(&win.name))
.label(clamp(&win.name))
.height_request(40)
.build();
@@ -468,7 +468,7 @@ impl Module<gtk::Box> for LauncherModule {
if let Some(buttons) = buttons.get_mut(&app_id) {
let button = Button::builder()
.height_request(40)
.label(&clamp(&win.name))
.label(clamp(&win.name))
.build();
{