aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattdescriptor.rs
diff options
context:
space:
mode:
authorOluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com>2024-03-21 00:05:29 +0100
committerGitHub <noreply@github.com>2024-03-20 23:05:29 +0000
commit2789e9887666a05695778bd9d822616985b40dbc (patch)
tree69400ac55fd84db0ec60e69d71d17f9e6d221e99 /components/script/dom/bluetoothremotegattdescriptor.rs
parentf55d1d288e4ede7da3090e853a0a0f6aab42c113 (diff)
downloadservo-2789e9887666a05695778bd9d822616985b40dbc.tar.gz
servo-2789e9887666a05695778bd9d822616985b40dbc.zip
clippy: Fix redundant field names warnings (#31793)
Diffstat (limited to 'components/script/dom/bluetoothremotegattdescriptor.rs')
-rw-r--r--components/script/dom/bluetoothremotegattdescriptor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bluetoothremotegattdescriptor.rs b/components/script/dom/bluetoothremotegattdescriptor.rs
index 6134e42b6a0..675863b17f4 100644
--- a/components/script/dom/bluetoothremotegattdescriptor.rs
+++ b/components/script/dom/bluetoothremotegattdescriptor.rs
@@ -46,9 +46,9 @@ impl BluetoothRemoteGATTDescriptor {
BluetoothRemoteGATTDescriptor {
reflector_: Reflector::new(),
characteristic: Dom::from_ref(characteristic),
- uuid: uuid,
+ uuid,
value: DomRefCell::new(None),
- instance_id: instance_id,
+ instance_id,
}
}