aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothadvertisingevent.rs
diff options
context:
space:
mode:
authorRosemary Ajayi <okhuomonajayi54@gmail.com>2024-03-19 08:01:23 +0000
committerGitHub <noreply@github.com>2024-03-19 08:01:23 +0000
commit06a021db552c1d2f8899484f7c1143424c387eef (patch)
treefbe14142bd89c6388635dd4a201146c1d60a3580 /components/script/dom/bluetoothadvertisingevent.rs
parent291fbce434f804c2ce51d2b966bab4c472d9ecf3 (diff)
downloadservo-06a021db552c1d2f8899484f7c1143424c387eef.tar.gz
servo-06a021db552c1d2f8899484f7c1143424c387eef.zip
clippy: Fix some warnings in `components/script` (#31735)
* fix clippy problems * fix clippy error * fix clippy error * fix clippy error * fix clippy error * fix clippy error * fix clippy errors
Diffstat (limited to 'components/script/dom/bluetoothadvertisingevent.rs')
-rw-r--r--components/script/dom/bluetoothadvertisingevent.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/bluetoothadvertisingevent.rs b/components/script/dom/bluetoothadvertisingevent.rs
index e134153563b..a8697bbde41 100644
--- a/components/script/dom/bluetoothadvertisingevent.rs
+++ b/components/script/dom/bluetoothadvertisingevent.rs
@@ -43,10 +43,10 @@ impl BluetoothAdvertisingEvent {
BluetoothAdvertisingEvent {
event: Event::new_inherited(),
device: Dom::from_ref(device),
- name: name,
- appearance: appearance,
- tx_power: tx_power,
- rssi: rssi,
+ name,
+ appearance,
+ tx_power,
+ rssi,
}
}