mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
clippy: Fix clone-on-copy warnings (#31877)
This commit is contained in:
parent
5f7baf31c2
commit
b55d0a2053
9 changed files with 41 additions and 47 deletions
|
@ -85,9 +85,9 @@ impl BluetoothAdvertisingEvent {
|
|||
) -> Fallible<DomRoot<BluetoothAdvertisingEvent>> {
|
||||
let global = window.upcast::<GlobalScope>();
|
||||
let name = init.name.clone();
|
||||
let appearance = init.appearance.clone();
|
||||
let txPower = init.txPower.clone();
|
||||
let rssi = init.rssi.clone();
|
||||
let appearance = init.appearance;
|
||||
let txPower = init.txPower;
|
||||
let rssi = init.rssi;
|
||||
let bubbles = EventBubbles::from(init.parent.bubbles);
|
||||
let cancelable = EventCancelable::from(init.parent.cancelable);
|
||||
Ok(BluetoothAdvertisingEvent::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue