chore: address 1.79 clippy lints

This commit is contained in:
Kirill Chibisov
2024-06-15 15:26:26 +03:00
parent 1745b01502
commit 96388f4f6b
15 changed files with 30 additions and 30 deletions

View File

@@ -482,8 +482,7 @@ impl<T> EventLoopProxy<T> {
cancel: None,
perform: event_loop_proxy_handler,
};
let source =
CFRunLoopSourceCreate(ptr::null_mut(), CFIndex::max_value() - 1, &mut context);
let source = CFRunLoopSourceCreate(ptr::null_mut(), CFIndex::MAX - 1, &mut context);
CFRunLoopAddSource(rl, source, kCFRunLoopCommonModes);
CFRunLoopWakeUp(rl);