Update cocoa-foundation/src/foundation.rs

Fix method name
This commit is contained in:
Nabil Elqatib
2021-11-18 14:04:47 +01:00
committed by GitHub
parent 46a3b04936
commit bcea771dae
+1 -1
View File
@@ -242,7 +242,7 @@ impl NSProcessInfo for id {
msg_send![self, processName]
}
unsafe fn uptime(self) -> NSTimeInterval {
unsafe fn systemUptime(self) -> NSTimeInterval {
msg_send![self, systemUptime]
}