Skip to content

Commit

Permalink
Merge pull request #351 from arruf/master
Browse files Browse the repository at this point in the history
fehlendes Referenz-"Zeichen"
  • Loading branch information
damoasda authored Oct 27, 2023
2 parents 417c7a3 + a6e387e commit 9dd5bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch10-02-traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ verwenden, etwa so:
# fn summarize(&self) -> String;
# }
#
pub fn notify(item: impl Summary) {
pub fn notify(item: &impl Summary) {
println!("Eilmeldung! {}", item.summarize());
}
```
Expand Down

0 comments on commit 9dd5bcb

Please sign in to comment.