aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-07-13 12:49:00 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-07-13 12:54:03 +0300
commitdfb368318755a902bad97db69a54c25cd6140b72 (patch)
treea4eb89124361987290af09d5414732f5b093383d /src/backend
parentce9ba00d54104f250f0074a54f14d1a5e4ff427f (diff)
downloadniri-dfb368318755a902bad97db69a54c25cd6140b72.tar.gz
niri-dfb368318755a902bad97db69a54c25cd6140b72.tar.bz2
niri-dfb368318755a902bad97db69a54c25cd6140b72.zip
Fix new Clippy warnings
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,