mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
clippy: fix warnings in components/shared (#31565)
* clippy: fix some warnings in components/shared * fix: unit tests * fix: review comments
This commit is contained in:
parent
3a5ca785d3
commit
43f44965cd
14 changed files with 102 additions and 139 deletions
|
@ -49,7 +49,7 @@ impl BluetoothScanfilter {
|
|||
name,
|
||||
name_prefix,
|
||||
services: ServiceUUIDSequence::new(services),
|
||||
manufacturer_data: manufacturer_data,
|
||||
manufacturer_data,
|
||||
service_data,
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ impl RequestDeviceoptions {
|
|||
services: ServiceUUIDSequence,
|
||||
) -> RequestDeviceoptions {
|
||||
RequestDeviceoptions {
|
||||
filters: filters,
|
||||
filters,
|
||||
optional_services: services,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue