diff --git a/foyer-storage/src/store/mod.rs b/foyer-storage/src/store/mod.rs index cc192333..7d8e9705 100644 --- a/foyer-storage/src/store/mod.rs +++ b/foyer-storage/src/store/mod.rs @@ -314,7 +314,7 @@ where reclaimers: usize, clean_region_threshold: Option, eviction_pickers: Vec>, - admision_picker: Arc>, + admission_picker: Arc>, reinsertion_picker: Arc>, compression: Compression, tombstone_log_config: Option, @@ -342,7 +342,7 @@ where reclaimers: 1, clean_region_threshold: None, eviction_pickers: vec![Box::new(InvalidRatioPicker::new(0.8)), Box::::default()], - admision_picker: Arc::>::default(), + admission_picker: Arc::>::default(), reinsertion_picker: Arc::>::default(), compression: Compression::None, tombstone_log_config: None, @@ -451,7 +451,7 @@ where /// /// Default: [`AdmitAllPicker`]. pub fn with_admission_picker(mut self, admission_picker: Arc>) -> Self { - self.admision_picker = admission_picker; + self.admission_picker = admission_picker; self } @@ -519,7 +519,7 @@ where reclaimers: self.reclaimers, clean_region_threshold, eviction_pickers: self.eviction_pickers, - admission_picker: self.admision_picker, + admission_picker: self.admission_picker, reinsertion_picker: self.reinsertion_picker, tombstone_log_config: self.tombstone_log_config, })) @@ -540,7 +540,7 @@ where reclaimers: self.reclaimers, clean_region_threshold, eviction_pickers: self.eviction_pickers, - admission_picker: self.admision_picker, + admission_picker: self.admission_picker, reinsertion_picker: self.reinsertion_picker, tombstone_log_config: self.tombstone_log_config, },