From 2e2989ef8cc2e7f4c02332f180301cc9d179c6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Thu, 14 May 2026 23:44:19 +0200 Subject: [PATCH] dashboard: writeln! instead of push_str(format!) --- hive-c0re/src/dashboard.rs | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/hive-c0re/src/dashboard.rs b/hive-c0re/src/dashboard.rs index d305572..83ec30c 100644 --- a/hive-c0re/src/dashboard.rs +++ b/hive-c0re/src/dashboard.rs @@ -1,6 +1,7 @@ //! Hyperhive dashboard. Lists managed containers (with deep-links to each //! container's web UI), pending approvals, and the manager. +use std::fmt::Write as _; use std::net::SocketAddr; use std::sync::Arc; @@ -62,14 +63,16 @@ fn render_containers(containers: &[String], hostname: &str) -> String { out.push_str("\n"); @@ -87,11 +90,12 @@ fn render_approvals(approvals: &[Approval]) -> String { out.push_str("\n"); out