You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 06:10:26 +02:00
Consistently inline formatting arguments (#2413)
This commit is contained in:
@ -22,8 +22,8 @@ enum PlayerMove {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let m: PlayerMove = PlayerMove::Run(Direction::Left);
|
||||
println!("On this turn: {:?}", m);
|
||||
let player_move: PlayerMove = PlayerMove::Run(Direction::Left);
|
||||
println!("On this turn: {player_move:?}");
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user