From 78d06fb18705b1bb9c87f0faded31b70eaa359a9 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 10 Dec 2022 19:22:23 -0500 Subject: [PATCH] route fix --- veilid-core/src/veilid_api/debug.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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())); }