clippy: Fix issues in components/fonts and ports/servoshell (#33809)

* fix linting issues

Signed-off-by: mercybassey <udohmercy911@gmail.com>

adding '-s'

* Remove a pair of unecessary parenethesis

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

---------

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Mercy Bassey 2024-10-11 18:23:38 +01:00 committed by GitHub
parent 20a15619f0
commit e09362cd3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -80,7 +80,7 @@ impl App {
} else {
Rc::new(headed_window::Window::new(
opts::get().initial_window_size,
&events_loop.as_winit(),
events_loop.as_winit(),
no_native_titlebar,
device_pixel_ratio_override,
))
@ -118,7 +118,7 @@ impl App {
app.minibrowser = Some(
Minibrowser::new(
&rendering_context,
&events_loop.as_winit(),
events_loop.as_winit(),
initial_url.clone(),
)
.into(),