mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Use double reference in debug derive
This commit is contained in:
parent
9b3387454d
commit
7da80d4f67
4 changed files with 91 additions and 8 deletions
|
@ -387,7 +387,7 @@ impl < > core::fmt::Debug for Command< > where {
|
|||
Command::Move {
|
||||
x: x, y: y,
|
||||
}
|
||||
=>f.debug_struct("Move").field("x", x).field("y", y).finish(), Command::Do(f0, )=>f.debug_tuple("Do").field(f0).finish(), Command::Jump=>f.write_str("Jump"),
|
||||
=>f.debug_struct("Move").field("x", &x).field("y", &y).finish(), Command::Do(f0, )=>f.debug_tuple("Do").field(&f0).finish(), Command::Jump=>f.write_str("Jump"),
|
||||
}
|
||||
}
|
||||
}"#]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue