Skip to content

Commit 197a95c

Browse files
committed
Work around clippy false positive
rust-lang/rust-clippy#9810
1 parent e9f4750 commit 197a95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/catflap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and then edit this file";
1919
if let Some(fd) = env::var("LISTEN_FD").ok().and_then(|fd| fd.parse().ok()) {
2020
app.listen(unsafe { TcpListener::from_raw_fd(fd) }).await?;
2121
} else {
22-
println!("{} ({})", DOCS, file!());
22+
println!(concat!("{} (", file!(), ")"), DOCS);
2323
}
2424
Ok(())
2525
}

0 commit comments

Comments
 (0)