Skip to content

Commit 7910441

Browse files
committed
quiet warnings
1 parent bb58120 commit 7910441

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gpu/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ impl Engine {
2626
#[cfg(feature = "metal")]
2727
pub use crate::gpu::metal::autoreleasepool as runloop;
2828
#[cfg(not(feature = "metal"))]
29+
#[allow(dead_code)]
2930
pub fn runloop<T, F: FnOnce() -> T>(f: F) -> T { f() }
3031

3132
#[derive(Copy, Clone, Debug)]

0 commit comments

Comments
 (0)