Skip to content

Commit 6bcb2b6

Browse files
Remove unused #[must_used] (#17959)
# Objective - Fixed CI compilation failure on Rust Nightly 1.87 due to [this PR](rust-lang/rust#136923) ## Solution - Removed unused `#[must_use]` ## Testing - cargo +nightly check --target wasm32-unknown-unknown -Z build-std=std,panic_abort
1 parent 8de6b16 commit 6bcb2b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/bevy_app/src/app.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,6 @@ impl AppExit {
14171417
}
14181418

14191419
impl From<u8> for AppExit {
1420-
#[must_use]
14211420
fn from(value: u8) -> Self {
14221421
Self::from_code(value)
14231422
}

0 commit comments

Comments
 (0)