summaryrefslogtreecommitdiff
path: root/solutions/01_variables/variables5.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2025-05-12 20:31:13 +0200
committermo8it <mo8it@proton.me>2025-05-12 20:31:13 +0200
commit48bab776096cde6ddd6547dfdb7d879a49c3edfe (patch)
tree5cc2dec23ddd9c3b5755732189ff59591e15b28e /solutions/01_variables/variables5.rs
parenta063bcfb4cf5e7e6cb98a8738a73aee8b7a57c7a (diff)
Apply Clippy lints
Diffstat (limited to 'solutions/01_variables/variables5.rs')
-rw-r--r--solutions/01_variables/variables5.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/solutions/01_variables/variables5.rs b/solutions/01_variables/variables5.rs
index 9057754..0ea3903 100644
--- a/solutions/01_variables/variables5.rs
+++ b/solutions/01_variables/variables5.rs
@@ -1,6 +1,6 @@
fn main() {
let number = "T-H-R-E-E";
- println!("Spell a number: {}", number);
+ println!("Spell a number: {number}");
// Using variable shadowing
// https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html#shadowing