Removes unnecessary #[allow(dead_code)] in bucket map (#34323)
This commit is contained in:
parent
20d33a5274
commit
62681b1089
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue