fix: MASK should be wrapped by paren

This commit is contained in:
Paul Pan 2024-04-22 21:06:08 +08:00
parent 615dac5f5c
commit ff02847885

View File

@ -1,6 +1,6 @@
#[macro_export]
macro_rules! MASK {
($bits:expr) => {
(1 << $bits) - 1
((1 << $bits) - 1)
};
}