We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e17141 + 070ddc5 commit 9d93c7bCopy full SHA for 9d93c7b
crates/uefi/src/status.rs
@@ -1,6 +1,6 @@
1
use core::ops::{ControlFlow, FromResidual, Try};
2
3
-pub const ERROR_BIT: usize = 1 << 63;
+pub const ERROR_BIT: usize = 1 << (usize::BITS - 1);
4
5
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
6
#[repr(usize)]
0 commit comments