Removes unnecessary #[allow(dead_code)] in bucket map (#34323)

This commit is contained in:
Brooks 2023-12-05 11:41:32 -05:00 committed by GitHub
parent 20d33a5274
commit 62681b1089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 4 deletions

View File

@ -116,7 +116,6 @@ pub struct Bucket<T: Copy + PartialEq + 'static> {
/// true if this bucket was loaded (as opposed to created blank).
/// When populating, we want to prioritize looking for data on disk that already matches as opposed to writing new data.
#[allow(dead_code)]
reused_file_at_startup: bool,
}

View File

@ -26,7 +26,6 @@ pub struct BucketApi<T: Clone + Copy + PartialEq + 'static> {
/// keeps track of which index file this bucket is currently using
/// or at startup, which bucket file this bucket should initially use
#[allow(dead_code)]
restartable_bucket: RestartableBucket,
}

View File

@ -219,8 +219,6 @@ impl<O: BucketOccupied> BucketStorage<O> {
offset
}
// temporary tag
#[allow(dead_code)]
/// load and mmap the file that is this disk bucket if possible
pub(crate) fn load_on_restart(
path: PathBuf,