Skip to content

Commit a7335b1

Browse files
tiifRalfJung
andauthored
Update comment for U64_ARRAY_SIZE
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 251c0f4 commit a7335b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/unix/linux/eventfd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::{concurrency::VClock, *};
1010

1111
use self::shims::unix::fd::FileDescriptor;
1212

13-
// Size of u8 array to hold u64.
13+
// We'll only do reads and writes in chunks of size u64.
1414
const U64_ARRAY_SIZE: usize = mem::size_of::<u64>();
1515

1616
/// Maximum value that the eventfd counter can hold.

0 commit comments

Comments
 (0)