mirror of
https://github.com/servo/servo.git
synced 2025-07-17 04:13:42 +01:00
clippy: Fix several warnings in components/devtools (#31501)
This commit is contained in:
parent
da873779b4
commit
3552bb2464
18 changed files with 85 additions and 86 deletions
|
@ -73,7 +73,7 @@ pub struct ThreadActor {
|
|||
|
||||
impl ThreadActor {
|
||||
pub fn new(name: String) -> ThreadActor {
|
||||
ThreadActor { name: name }
|
||||
ThreadActor { name }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue