Skip to content

Commit

Permalink
Merge pull request #1772 from proski/space-before-self
Browse files Browse the repository at this point in the history
Remove space between `&` and `self`
  • Loading branch information
marioidival authored Nov 21, 2023
2 parents a658124 + 8b7d11d commit 604b95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Person {
/// Gives a friendly hello!
///
/// Says "Hello, [name](Person::name)" to the `Person` it is called on.
pub fn hello(& self) {
pub fn hello(&self) {
println!("Hello, {}!", self.name);
}
}
Expand Down

0 comments on commit 604b95e

Please sign in to comment.