summary history branches tags files
commit:591d7cc236c04c8f90d653458431a01217111647
author:Trevor Bentley
committer:GitHub
date:Sun Nov 3 22:25:43 2019 +0000
parents:ed49e8919614d1c20ad5fde091cb60bcdcae7380, afcb6df1503038740ad7d4212cb7153220b6b181
Merge pull request #14 from sim-o/patch-1

Fix compilation in rust 1.38
diff --git a/src/osx.rs b/src/osx.rs
line changes: +1/-1
index b1745c3..867ef3b
--- a/src/osx.rs
+++ b/src/osx.rs
@@ -586,7 +586,7 @@ impl FruitApp {
             let cls = Class::get("NSAppleEventManager").unwrap();
             let manager: *mut Object = msg_send![cls, sharedAppleEventManager];
             let objc = (*self.objc).take();
-            let _ = msg_send![manager,
+            let _:() = msg_send![manager,
                               setEventHandler: objc
                               andSelector: sel!(handleEvent:withReplyEvent:)
                               forEventClass: class