mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
clippy: Fix dereferencing a tuple pattern warnings (#31811)
This commit is contained in:
parent
b22281d94f
commit
694e86ecff
14 changed files with 29 additions and 37 deletions
|
@ -166,7 +166,7 @@ impl Bluetooth {
|
|||
// Step 2.2: There are no requiredServiceUUIDS, we scan for all devices.
|
||||
let mut uuid_filters = vec![];
|
||||
|
||||
if let &Some(ref filters) = filters {
|
||||
if let Some(filters) = filters {
|
||||
// Step 2.1.
|
||||
if filters.is_empty() {
|
||||
p.reject_error(Type(FILTER_EMPTY_ERROR.to_owned()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue