mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fixed some clippy warnings in components/script and components/devtools (#33689)
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
This commit is contained in:
parent
53d24bb9ea
commit
028026bebe
4 changed files with 5 additions and 11 deletions
|
@ -38,12 +38,6 @@ pub struct IdentityHub {
|
|||
|
||||
impl Default for IdentityHub {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl IdentityHub {
|
||||
pub fn new() -> Self {
|
||||
IdentityHub {
|
||||
adapters: IdentityManager::new(),
|
||||
devices: IdentityManager::new(),
|
||||
|
|
|
@ -241,7 +241,7 @@ impl ServiceWorkerGlobalScope {
|
|||
runtime,
|
||||
from_devtools_receiver,
|
||||
closing,
|
||||
Arc::new(IdentityHub::new()),
|
||||
Arc::new(IdentityHub::default()),
|
||||
),
|
||||
task_queue: TaskQueue::new(receiver, own_sender.clone()),
|
||||
own_sender,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue