Skip to content

Commit fea253c

Browse files
authored
Merge pull request Rust-SDL2#1417 from TheRealDust/fixed-lints
Fixed Dead Code Warning
2 parents 315c9e2 + ad94eeb commit fea253c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sdl2/video.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ impl GLContext {
547547
pub struct WindowContext {
548548
subsystem: VideoSubsystem,
549549
raw: *mut sys::SDL_Window,
550+
#[allow(dead_code)]
550551
pub(crate) metal_view: sys::SDL_MetalView,
551552
}
552553

0 commit comments

Comments
 (0)