mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fixed the unneeded return
statement warnings. (#31863)
This commit is contained in:
parent
f7669b5238
commit
d814d05539
15 changed files with 33 additions and 33 deletions
|
@ -122,7 +122,7 @@ impl BluetoothRemoteGATTDescriptorMethods for BluetoothRemoteGATTDescriptor {
|
|||
self.get_bluetooth_thread()
|
||||
.send(BluetoothRequest::ReadValue(self.get_instance_id(), sender))
|
||||
.unwrap();
|
||||
return p;
|
||||
p
|
||||
}
|
||||
|
||||
// https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattdescriptor-writevalue
|
||||
|
@ -168,7 +168,7 @@ impl BluetoothRemoteGATTDescriptorMethods for BluetoothRemoteGATTDescriptor {
|
|||
sender,
|
||||
))
|
||||
.unwrap();
|
||||
return p;
|
||||
p
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue