Skip to content

Commit

Permalink
Remove space between & and self
Browse files Browse the repository at this point in the history
  • Loading branch information
proski committed Nov 20, 2023
1 parent a658124 commit 8b7d11d
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 8b7d11d

Please sign in to comment.