remove extra note

This commit is contained in:
yggverse 2025-07-09 17:36:23 +03:00
parent 0ac31fe69e
commit 058bc6a07c

View file

@ -54,7 +54,7 @@ fn filter_list(value: Option<Vec<(String, u64)>>) -> Option<Vec<(String, u64)>>
/// Crop long values (prevents unexpected memory pool usage) /// Crop long values (prevents unexpected memory pool usage)
fn crop(value: String) -> String { fn crop(value: String) -> String {
const C: usize = 125; // + 3 for `...` offset, 128 chars max (<255 bytes for ext4) @TODO optional const C: usize = 125; // + 3 for `...` offset, 128 chars max @TODO optional
if value.chars().count() > C { if value.chars().count() > C {
format!( format!(
"{}...", "{}...",