Update cocoa-foundation/src/foundation.rs

This commit is contained in:
Nabil Elqatib
2021-11-18 14:52:36 +01:00
committed by GitHub
parent e07fe2713e
commit 6e78ddfb8a
+1 -1
View File
@@ -229,7 +229,7 @@ pub trait NSProcessInfo: Sized {
msg_send![class!(NSProcessInfo), processInfo]
}
unsafe fn systemUptime(_: Self) -> NSTimeInterval;
unsafe fn systemUptime(self) -> NSTimeInterval;
unsafe fn processName(self) -> id;
unsafe fn operatingSystemVersion(self) -> NSOperatingSystemVersion;
unsafe fn isOperatingSystemAtLeastVersion(self, version: NSOperatingSystemVersion) -> bool;