diff --git a/crates/http/src/main.rs b/crates/http/src/main.rs index 568b95b..aa5e4e6 100644 --- a/crates/http/src/main.rs +++ b/crates/http/src/main.rs @@ -50,7 +50,7 @@ fn index( "index", context! { title: { - let mut t = String::new(); + let mut t = String::with_capacity(9); if let Some(q) = search && !q.is_empty() { t.push_str(q); t.push_str(S);