aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothpermissionresult.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bluetoothpermissionresult.rs')
-rw-r--r--components/script/dom/bluetoothpermissionresult.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bluetoothpermissionresult.rs b/components/script/dom/bluetoothpermissionresult.rs
index 76f22864c30..bd28fa1ef2a 100644
--- a/components/script/dom/bluetoothpermissionresult.rs
+++ b/components/script/dom/bluetoothpermissionresult.rs
@@ -105,7 +105,7 @@ impl AsyncBluetoothListener for BluetoothPermissionResult {
if let Some(ref existing_device) = device_instance_map.get(&device.id) {
// https://webbluetoothcg.github.io/web-bluetooth/#request-the-bluetooth-permission
// Step 3.
- self.set_devices(vec![Dom::from_ref(&*existing_device)]);
+ self.set_devices(vec![Dom::from_ref(*existing_device)]);
// https://w3c.github.io/permissions/#dom-permissions-request
// Step 8.