* Fix typos
* Remove OsError in winit-web
This commit is contained in:
Mads Marquart
2025-06-05 13:10:30 +02:00
committed by GitHub
parent 969237f422
commit b0f26c79ff
4 changed files with 2 additions and 13 deletions

View File

@@ -682,7 +682,7 @@ fn wait_for_messages_impl(
unsafe {
// Either:
// 1. User wants to wait indefinely if timeout is not set.
// 1. User wants to wait indefinitely if timeout is not set.
// 2. We failed to get and set high resolution timer and we need something instead of it.
let wait_duration_ms = timeout.map(dur2timeout).unwrap_or(INFINITE);