Skip to content

Commit

Permalink
chore: Satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Aug 21, 2024
1 parent d86ed05 commit 3762523
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/debug_ui/avm1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ impl Avm1ObjectWindow {
keys.retain(|key| {
self.key_filter_string.is_empty()
|| key
.to_string()
.to_ascii_lowercase()
.contains(&self.key_filter_string.to_ascii_lowercase())
.to_string()
.to_ascii_lowercase()
.contains(&self.key_filter_string.to_ascii_lowercase())
});

for key in keys {
Expand Down Expand Up @@ -111,7 +111,7 @@ impl Avm1ObjectWindow {
ui.label("Function");
} else if ui.button(object_name(value)).clicked() {
messages.push(Message::TrackAVM1Object(AVM1ObjectHandle::new(
&mut activation.context,
activation.context,
value,
)));
}
Expand All @@ -120,7 +120,7 @@ impl Avm1ObjectWindow {
if let Some((_, _, object)) = value.resolve_reference(activation) {
open_display_object_button(
ui,
&mut activation.context,
activation.context,
messages,
object,
&mut self.hovered_debug_rect,
Expand Down

0 comments on commit 3762523

Please sign in to comment.