Skip to content

Commit

Permalink
Rename SIZE_64BYTE to SIZE_64BIT
Browse files Browse the repository at this point in the history
  • Loading branch information
hky1999 committed Apr 12, 2024
1 parent b27f88d commit b9db334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/percpu/src/imp.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fn align_up_64(val: usize) -> usize {
const SIZE_64BYTE: usize = 0x40;
(val + SIZE_64BYTE - 1) & !(SIZE_64BYTE - 1)
const SIZE_64BIT: usize = 0x40;
(val + SIZE_64BIT - 1) & !(SIZE_64BIT - 1)
}

#[cfg(not(target_os = "none"))]
Expand Down

0 comments on commit b9db334

Please sign in to comment.