diff --git a/veilid-core/src/veilid_api/debug.rs b/veilid-core/src/veilid_api/debug.rs index 23aca13e..06e884e7 100644 --- a/veilid-core/src/veilid_api/debug.rs +++ b/veilid-core/src/veilid_api/debug.rs @@ -707,7 +707,10 @@ impl VeilidAPI { } let remote_routes = rss.list_remote_routes(|k, _| Some(*k)); - let mut out = format!("Remote Routes: (count = {}):\n", remote_routes.len()); + out.push_str(&format!( + "Remote Routes: (count = {}):\n", + remote_routes.len() + )); for r in remote_routes { out.push_str(&format!("{}\n", r.encode())); }