clippy: ports/servoshell/desktop (#32847)

Signed-off-by: Rémy Saissy <remy.saissy@gmail.com>
This commit is contained in:
Rémy SAISSY 2024-07-24 20:30:06 +02:00 committed by GitHub
parent f2fbe44dc9
commit bf8decbffb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,6 +71,7 @@ impl Minibrowser {
};
// Adapted from https://github.com/emilk/egui/blob/9478e50d012c5138551c38cbee16b07bc1fcf283/crates/egui_glow/examples/pure_glow.rs
#[allow(clippy::arc_with_non_send_sync)]
let context = EguiGlow::new(events_loop.as_winit(), Arc::new(gl), None);
let widget_surface_fbo = match rendering_context.context_surface_info() {
Ok(Some(info)) => NonZeroU32::new(info.framebuffer_object).map(NativeFramebuffer),