From dfb368318755a902bad97db69a54c25cd6140b72 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 13 Jul 2025 12:49:00 +0300 Subject: Fix new Clippy warnings --- src/backend/tty.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend') diff --git a/src/backend/tty.rs b/src/backend/tty.rs index 198a63cc..4c8801f9 100644 --- a/src/backend/tty.rs +++ b/src/backend/tty.rs @@ -316,11 +316,11 @@ impl Tty { let mut node_path = String::new(); if let Some(path) = primary_render_node.dev_path() { - write!(node_path, "{:?}", path).unwrap(); + write!(node_path, "{path:?}").unwrap(); } else { - write!(node_path, "{}", primary_render_node).unwrap(); + write!(node_path, "{primary_render_node}").unwrap(); } - info!("using as the render node: {}", node_path); + info!("using as the render node: {node_path}"); Ok(Self { config, -- cgit