From 0ac31fe69e319c2a2043f77bab1629c877edc444 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 9 Jul 2025 17:28:55 +0300 Subject: [PATCH] update comment --- src/index/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index/value.rs b/src/index/value.rs index 3577037..7877cfe 100644 --- a/src/index/value.rs +++ b/src/index/value.rs @@ -54,7 +54,7 @@ fn filter_list(value: Option>) -> Option> /// Crop long values (prevents unexpected memory pool usage) fn crop(value: String) -> String { - const C: usize = 125; // + 3 bytes for `...` offset, 128 max @TODO optional + const C: usize = 125; // + 3 for `...` offset, 128 chars max (<255 bytes for ext4) @TODO optional if value.chars().count() > C { format!( "{}...",