Skip to content

Commit

Permalink
Inline constant
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 23, 2022
1 parent 1387cd9 commit e47db2f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/fj-kernel/src/storage/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct Store<T> {
impl<T> Store<T> {
/// 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
Expand Down Expand Up @@ -172,8 +172,6 @@ pub struct StoreInnerInner<T> {
blocks: Blocks<T>,
}

const BLOCK_SIZE: usize = 16384;

#[cfg(test)]
mod tests {
use super::Store;
Expand Down

0 comments on commit e47db2f

Please sign in to comment.