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).
|
/// 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.
|
/// 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,
|
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
|
/// keeps track of which index file this bucket is currently using
|
||||||
/// or at startup, which bucket file this bucket should initially use
|
/// or at startup, which bucket file this bucket should initially use
|
||||||
#[allow(dead_code)]
|
|
||||||
restartable_bucket: RestartableBucket,
|
restartable_bucket: RestartableBucket,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -219,8 +219,6 @@ impl<O: BucketOccupied> BucketStorage<O> {
|
||||||
offset
|
offset
|
||||||
}
|
}
|
||||||
|
|
||||||
// temporary tag
|
|
||||||
#[allow(dead_code)]
|
|
||||||
/// load and mmap the file that is this disk bucket if possible
|
/// load and mmap the file that is this disk bucket if possible
|
||||||
pub(crate) fn load_on_restart(
|
pub(crate) fn load_on_restart(
|
||||||
path: PathBuf,
|
path: PathBuf,
|
||||||
|
|
Loading…
Reference in New Issue