You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-11-30 17:15:23 +02:00
Inline variables printed with println! and friends (#315)
The course follows the style of inlining variable names where possible in `println!` statements.
This commit is contained in:
@@ -21,7 +21,7 @@ fn main() {
|
||||
thread::sleep(Duration::from_millis(100));
|
||||
|
||||
for msg in rx.iter() {
|
||||
println!("Main: got {}", msg);
|
||||
println!("Main: got {msg}");
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user