chore: fix clippy lints
This commit is contained in:
parent
fc6cf89ac0
commit
19e5bee3d1
9 changed files with 13 additions and 13 deletions
|
|
@ -563,7 +563,7 @@ impl rwh_06::HasDisplayHandle for OwnedDisplayHandle {
|
|||
fn main_thread_id() -> u32 {
|
||||
static mut MAIN_THREAD_ID: u32 = 0;
|
||||
|
||||
/// Function pointer used in CRT initialization section to set the above static field's value.
|
||||
// Function pointer used in CRT initialization section to set the above static field's value.
|
||||
|
||||
// Mark as used so this is not removable.
|
||||
#[used]
|
||||
|
|
|
|||
|
|
@ -1071,7 +1071,7 @@ pub(super) struct InitData<'a> {
|
|||
pub window: Option<Window>,
|
||||
}
|
||||
|
||||
impl<'a> InitData<'a> {
|
||||
impl InitData<'_> {
|
||||
unsafe fn create_window(&self, window: HWND) -> Window {
|
||||
// Register for touch events if applicable
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue