From a2c40dd234c6af47cd0ccb308b0a39ca2e06b0ef Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 12 Mar 2025 18:59:08 +0200 Subject: [PATCH] cargo fmt... --- core/storage/btree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/storage/btree.rs b/core/storage/btree.rs index ca376055c..fe5cad950 100644 --- a/core/storage/btree.rs +++ b/core/storage/btree.rs @@ -2328,7 +2328,7 @@ fn find_free_cell(page_ref: &PageContent, usable_space: u16, amount: usize) -> R if amount <= size as usize { let new_size = size as usize - amount; if new_size < 4 { - // The code is checking if using a free slot that would leave behind a very small fragment (x < 4 bytes) + // The code is checking if using a free slot that would leave behind a very small fragment (x < 4 bytes) // would cause the total fragmentation to exceed the limit of 60 bytes // check sqlite docs https://www.sqlite.org/fileformat.html#:~:text=A%20freeblock%20requires,not%20exceed%2060 if page_ref.num_frag_free_bytes() > 57 {