From 08027290168d92a503758cb350a5410268a6f5e6 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Fri, 18 Oct 2024 17:47:45 +1300 Subject: [PATCH] Remove unnecessary space replacement to ` `. --- crate/rt/src/into_graphviz_dot_src/info_graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crate/rt/src/into_graphviz_dot_src/info_graph.rs b/crate/rt/src/into_graphviz_dot_src/info_graph.rs index 3ecf3ae..61e8f50 100644 --- a/crate/rt/src/into_graphviz_dot_src/info_graph.rs +++ b/crate/rt/src/into_graphviz_dot_src/info_graph.rs @@ -382,7 +382,7 @@ fn node_cluster_internal( let node_emoji = node_emojis.get(node_id).map(String::as_str); let node_image = node_images.get(node_id); // TODO: escape - let node_label = node_name.unwrap_or(node_id).replace(' ', " "); + let node_label = node_name.unwrap_or(node_id); // TODO: escape let node_desc = node_desc .map(|desc| desc.replace('\n', "
"))