From 642d76b8cd1676100685d8f9393930fb05ce1cc2 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Mon, 25 Sep 2023 13:26:27 -0700 Subject: [PATCH] update comments (#33399) --- bucket_map/src/restart.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket_map/src/restart.rs b/bucket_map/src/restart.rs index bc3336807..aae4d455f 100644 --- a/bucket_map/src/restart.rs +++ b/bucket_map/src/restart.rs @@ -27,7 +27,7 @@ pub(crate) struct Header { /// u8 representing how many entries to search for during collisions. /// If this is different, then the contents of the index file's contents are likely not as helpful. max_search: u8, - /// padding to get header to u128 aligned + /// padding to make size of Header be an even multiple of u128 _dummy: [u8; 15], } @@ -44,7 +44,7 @@ pub(crate) struct OneIndexBucket { file_name: u128, /// each bucket uses a random value to hash with pubkeys. Without this, hashing would be inconsistent between restarts. random: u64, - /// padding to make u128 aligned + /// padding to make size of OneIndexBucket be an even multiple of u128 _dummy: u64, }