diff --git a/fish-rust/src/flog.rs b/fish-rust/src/flog.rs index 6f6a154c3..cc1d002ed 100644 --- a/fish-rust/src/flog.rs +++ b/fish-rust/src/flog.rs @@ -175,7 +175,7 @@ macro_rules! FLOG { if crate::flog::categories::$category.enabled.load(std::sync::atomic::Ordering::Relaxed) { #[allow(unused_imports)] use crate::flog::{FloggableDisplay, FloggableDebug}; - let mut vs = Vec::new(); + let mut vs = vec![format!("{}:", crate::flog::categories::$category.name)]; $( { vs.push($elem.to_flog_str())