mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-07-01 00:45:17 +02:00
Merge pull request #1293 from tysonliddell/fix_self_parameter
fix: Remove superfluous &self indirection
This commit is contained in:
@ -10,7 +10,7 @@ enum Message {
|
||||
|
||||
impl Message {
|
||||
fn call(&self) {
|
||||
println!("{:?}", &self);
|
||||
println!("{:?}", self);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user