summary history branches tags files
commit:1f09421429dad27a4a3b9f93caa8aee2cb284564
author:Trevor Bentley
committer:Trevor Bentley
date:Sat Jan 8 19:00:57 2022 +0100
parents:e2609374112d06eec62247a02b62b85e27ad07c2
suppress Rust deprecation warning
diff --git a/src/lib.rs b/src/lib.rs
line changes: +1/-1
index ceab61a..6a79222
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -134,7 +134,7 @@ pub enum FruitCallbackKey {
 
 #[cfg(any(not(target_os = "macos"), feature="dummy"))]
 /// Docs in OS X build.
-pub type FruitObjcCallback = Box<Fn(*mut u64)>;
+pub type FruitObjcCallback = Box<dyn Fn(*mut u64)>;
 
 /// Main interface for controlling and interacting with the AppKit app
 ///