mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
Merge pull request #1293 from tysonliddell/fix_self_parameter
fix: Remove superfluous &self indirection
This commit is contained in:
commit
4521aed23b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ enum Message {
|
|||
|
||||
impl Message {
|
||||
fn call(&self) {
|
||||
println!("{:?}", &self);
|
||||
println!("{:?}", self);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue