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.
1 parent 57b0084 commit 72889b7Copy full SHA for 72889b7
crossbeam-utils/src/cache_padded.rs
@@ -39,9 +39,9 @@ use core::ops::{Deref, DerefMut};
39
/// let addr1 = &*array[0] as *const i8 as usize;
40
/// let addr2 = &*array[1] as *const i8 as usize;
41
///
42
-/// assert!(addr2 - addr1 >= 64);
43
-/// assert_eq!(addr1 % 64, 0);
44
-/// assert_eq!(addr2 % 64, 0);
+/// assert!(addr2 - addr1 >= 32);
+/// assert_eq!(addr1 % 32, 0);
+/// assert_eq!(addr2 % 32, 0);
45
/// ```
46
47
/// When building a concurrent queue with a head and a tail index, it is wise to place them in
0 commit comments