From 6bcb2b633b165794b5b3ec6de20c07c56fc663d3 Mon Sep 17 00:00:00 2001 From: Zachary Harrold Date: Fri, 21 Feb 2025 16:39:16 +1100 Subject: [PATCH] Remove unused `#[must_used]` (#17959) # Objective - Fixed CI compilation failure on Rust Nightly 1.87 due to [this PR](https://github.com/rust-lang/rust/pull/136923) ## Solution - Removed unused `#[must_use]` ## Testing - cargo +nightly check --target wasm32-unknown-unknown -Z build-std=std,panic_abort --- crates/bevy_app/src/app.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index 526e7c4500..cee160f0e7 100644 --- a/crates/bevy_app/src/app.rs +++ b/crates/bevy_app/src/app.rs @@ -1417,7 +1417,6 @@ impl AppExit { } impl From for AppExit { - #[must_use] fn from(value: u8) -> Self { Self::from_code(value) }