Update time crate to fix compilation error (#12189)
run `cargo update --package time` due to https://github.com/time-rs/time/issues/681 Release Notes: - N/A
This commit is contained in:
@@ -877,7 +877,7 @@ impl LinuxClient for X11Client {
|
||||
.unwrap();
|
||||
let _ = state.xcb_connection.flush().unwrap();
|
||||
// Take into account that some frames have been skipped
|
||||
let now = time::Instant::now();
|
||||
let now = Instant::now();
|
||||
while instant < now {
|
||||
instant += refresh_duration;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user