mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix many warnings in components/script
(#31717)
* Fix Several clippy warnings * Fix Build errors * Fix Unused import * Fix requested changes * Fix rustfmt * Minor fixes --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
676f655647
commit
01ca220f83
41 changed files with 200 additions and 212 deletions
|
@ -220,7 +220,7 @@ impl<T: QueuedTaskConversion> TaskQueue<T> {
|
|||
(false, false) => {
|
||||
// Cycle through non-priority task sources, taking one throttled task from each.
|
||||
let task_source = task_source_cycler.next().unwrap();
|
||||
let throttled_queue = match throttled.get_mut(&task_source) {
|
||||
let throttled_queue = match throttled.get_mut(task_source) {
|
||||
Some(queue) => queue,
|
||||
None => continue,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue