From e47db2ff9ff3b96622eeeb04c77985a1992b8d51 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 23 Nov 2022 12:33:29 +0100 Subject: [PATCH] Inline constant --- crates/fj-kernel/src/storage/store.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/fj-kernel/src/storage/store.rs b/crates/fj-kernel/src/storage/store.rs index 891b7e41ad..2366e3e114 100644 --- a/crates/fj-kernel/src/storage/store.rs +++ b/crates/fj-kernel/src/storage/store.rs @@ -39,7 +39,7 @@ pub struct Store { impl Store { /// Construct a new instance of `Store` pub fn new() -> Self { - Self::with_block_size(BLOCK_SIZE) + Self::with_block_size(16384) } /// Construct a new instance of `Store` using the provided block size @@ -172,8 +172,6 @@ pub struct StoreInnerInner { blocks: Blocks, } -const BLOCK_SIZE: usize = 16384; - #[cfg(test)] mod tests { use super::Store;