mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix some "unnecessary parentheses" warnings
This commit is contained in:
parent
6e3fba97bd
commit
897a5b39c5
8 changed files with 9 additions and 9 deletions
|
@ -106,7 +106,7 @@ impl PerformanceObserverMethods for PerformanceObserver {
|
|||
// step 2
|
||||
// There must be at least one valid entry type.
|
||||
if entry_types.is_empty() {
|
||||
return Err((Error::Type("entryTypes cannot be empty".to_string())));
|
||||
return Err(Error::Type("entryTypes cannot be empty".to_string()));
|
||||
}
|
||||
|
||||
// step 3-4-5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue