Skip to content

Commit b0f26c7

Browse files
authored
Fix CI (#4270)
* Fix typos * Remove OsError in winit-web
1 parent 969237f commit b0f26c7

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

winit-wayland/src/seat/keyboard/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl Dispatch<WlKeyboard, KeyboardData, WinitState> for WinitState {
9797
WlKeyboardEvent::Leave { surface, .. } => {
9898
let window_id = crate::make_wid(&surface);
9999

100-
// NOTE: we should drop the repeat regardless whethere it was for the present
100+
// NOTE: we should drop the repeat regardless whether it was for the present
101101
// window of for the window which just went gone.
102102
keyboard_state.current_repeat = None;
103103
if let Some(token) = keyboard_state.repeat_token.take() {

winit-web/src/error.rs

Lines changed: 0 additions & 10 deletions
This file was deleted.

winit-web/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ macro_rules! os_error {
6868

6969
mod r#async;
7070
mod cursor;
71-
mod error;
7271
mod event;
7372
pub(crate) mod event_loop;
7473
mod keyboard;

winit-win32/src/event_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ fn wait_for_messages_impl(
682682

683683
unsafe {
684684
// Either:
685-
// 1. User wants to wait indefinely if timeout is not set.
685+
// 1. User wants to wait indefinitely if timeout is not set.
686686
// 2. We failed to get and set high resolution timer and we need something instead of it.
687687
let wait_duration_ms = timeout.map(dur2timeout).unwrap_or(INFINITE);
688688

0 commit comments

Comments
 (0)