File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ pub struct Window {
72
72
/// Source to wake-up the event-loop for window requests.
73
73
event_loop_awakener : calloop:: ping:: Ping ,
74
74
75
- /// The event sink to deliver sythetic events.
75
+ /// The event sink to deliver synthetic events.
76
76
window_events_sink : Arc < Mutex < EventSink > > ,
77
77
}
78
78
Original file line number Diff line number Diff line change @@ -1778,7 +1778,7 @@ impl EventProcessor {
1778
1778
None => return ,
1779
1779
} ;
1780
1780
1781
- // Send the keys using the sythetic state to not alter the main state.
1781
+ // Send the keys using the synthetic state to not alter the main state.
1782
1782
let mut xkb_state = match XkbState :: new_x11 ( xcb, keymap) {
1783
1783
Some ( xkb_state) => xkb_state,
1784
1784
None => return ,
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ impl XConnection {
180
180
181
181
// Position relative to root window.
182
182
// With rare exceptions, this is the position of a nested window. Cases where the window
183
- // isn't nested are outlined in the comments throghout this function, but in addition to
183
+ // isn't nested are outlined in the comments throughout this function, but in addition to
184
184
// that, fullscreen windows often aren't nested.
185
185
let ( inner_y_rel_root, child) = {
186
186
let coords = self
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ impl PanicInfo {
53
53
result
54
54
}
55
55
56
- /// Overwrites the curret state if the current state is not panicking
56
+ /// Overwrites the current state if the current state is not panicking
57
57
pub fn set_panic ( & self , p : Box < dyn Any + Send + ' static > ) {
58
58
if !self . is_panicking ( ) {
59
59
self . inner . set ( Some ( p) ) ;
Original file line number Diff line number Diff line change 1
1
// A poly-fill for `lazy_cell`
2
- // Replace with std::sync::LazyLock when https://github.com/rust-lang/rust/issues/109736 is stablized .
2
+ // Replace with std::sync::LazyLock when https://github.com/rust-lang/rust/issues/109736 is stabilized .
3
3
4
4
// This isn't used on every platform, which can come up as dead code warnings.
5
5
#![ allow( dead_code) ]
You can’t perform that action at this time.
0 commit comments