Skip to content

Commit 72889b7

Browse files
committed
Fix CachePadded doctest on arm
Fixes #668
1 parent 57b0084 commit 72889b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crossbeam-utils/src/cache_padded.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ use core::ops::{Deref, DerefMut};
3939
/// let addr1 = &*array[0] as *const i8 as usize;
4040
/// let addr2 = &*array[1] as *const i8 as usize;
4141
///
42-
/// assert!(addr2 - addr1 >= 64);
43-
/// assert_eq!(addr1 % 64, 0);
44-
/// assert_eq!(addr2 % 64, 0);
42+
/// assert!(addr2 - addr1 >= 32);
43+
/// assert_eq!(addr1 % 32, 0);
44+
/// assert_eq!(addr2 % 32, 0);
4545
/// ```
4646
///
4747
/// When building a concurrent queue with a head and a tail index, it is wise to place them in

0 commit comments

Comments
 (0)