clippy: Fix several warnings in components/devtools (#31501)

This commit is contained in:
eri 2024-03-05 19:19:04 +01:00 committed by GitHub
parent da873779b4
commit 3552bb2464
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 85 additions and 86 deletions

View file

@ -50,6 +50,6 @@ impl Actor for StyleSheetsActor {
impl StyleSheetsActor {
pub fn new(name: String) -> StyleSheetsActor {
StyleSheetsActor { name: name }
StyleSheetsActor { name }
}
}