Skip to content

Commit

Permalink
Fix Ci failing over dead code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Brezak committed Mar 21, 2024
1 parent 7b842e3 commit 7a0350c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions crates/bevy_ecs/src/lib.rs
Expand Up @@ -1724,9 +1724,12 @@ mod tests {
);
}

// These fields are never read so we get a dead code lint here.
#[allow(dead_code)]
#[derive(Component)]
struct ComponentA(u32);

#[allow(dead_code)]
#[derive(Component)]
struct ComponentB(u32);

Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_winit/src/winit_windows.rs
Expand Up @@ -107,7 +107,7 @@ impl WinitWindows {
#[cfg(target_os = "windows")]
{
use winit::platform::windows::WindowBuilderExtWindows;
winit_window_builder = winit_window_builder.with_skip_taskbar(window.skip_taskbar)
winit_window_builder = winit_window_builder.with_skip_taskbar(window.skip_taskbar);
}

#[cfg(any(
Expand Down

0 comments on commit 7a0350c

Please sign in to comment.