Skip to content

Commit

Permalink
fehlendes Referenz-"Zeichen"
Browse files Browse the repository at this point in the history
  • Loading branch information
arruf authored Oct 26, 2023
1 parent 417c7a3 commit a6e387e
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 a6e387e

Please sign in to comment.