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:
parent
d8605c8614
commit
8e07fd2214
2 changed files with 25 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue