mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -59,7 +59,7 @@ impl Actor for DeviceActor {
|
|||
|
||||
impl DeviceActor {
|
||||
pub fn new(name: String) -> DeviceActor {
|
||||
DeviceActor { name: name }
|
||||
DeviceActor { name }
|
||||
}
|
||||
|
||||
pub fn description() -> ActorDescription {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue