aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/tty.rs6
1 files changed, 3 insertions, 3 deletions
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,