refactor: clean up clippy lints

This commit is contained in:
2025-03-13 16:37:31 -04:00
parent ac5533834d
commit 10946ea7a4
5 changed files with 8 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ impl UserData for Container {
"click",
|_, this, (operation, operation_type): (Table, Option<u8>)| {
this.0
.click(operation_from_table(operation, operation_type)?);
.click(operation_from_table(&operation, operation_type)?);
Ok(())
},
);
@@ -66,7 +66,7 @@ impl UserData for ContainerRef {
"click",
|_, this, (operation, operation_type): (Table, Option<u8>)| {
this.0
.click(operation_from_table(operation, operation_type)?);
.click(operation_from_table(&operation, operation_type)?);
Ok(())
},
);