Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(macos): remove explicit auto-deref flagged by clippy -D warnings
ManthanNimodiyab50e7fe71c0b
diff --git a/apps/desktop/src-tauri/src/platform/macos/delegates.rs b/apps/desktop/src-tauri/src/platform/macos/delegates.rsindex 577fd2832..79860f418 100644--- a/apps/desktop/src-tauri/src/platform/macos/delegates.rs+++ b/apps/desktop/src-tauri/src/platform/macos/delegates.rs@@ -368,7 +368,7 @@ pub fn setup<R: Runtime>(window: Window<R>, controls_inset: LogicalPosition<f64>// be baked into the shared class for all `R`.fn get_or_register_delegate_class<R: Runtime>() -> &'static Class {static CLASS: std::sync::OnceLock<&'static Class> = std::sync::OnceLock::new();- *CLASS.get_or_init(|| {+ CLASS.get_or_init(|| {let mut decl = ClassDecl::new("CapWindowDelegate", class!(NSObject)).expect("CapWindowDelegate class already registered");