Skip to content

Commit

Permalink
Update training-slides/src/methods-traits.md
Browse files Browse the repository at this point in the history
Co-authored-by: Amanjeev Sethi <[email protected]>
  • Loading branch information
jonathanpallant and amanjeev authored Jun 13, 2023
1 parent 603fe63 commit c1b93c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training-slides/src/methods-traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl AreaCalculator {

Note:

The total function says "I will give you a value you can display (with println), but I am not telling you what it is". You can look up "RPIT" (return position impl trait) for the history of this feature. APIT (argument position impl trait) is probably the less useful of the two.
The total function says "I will give you a value you can display (with `println`), but I am not telling you what it is". You can look up "RPIT" (return position impl trait) for the history of this feature. APIT (argument position impl trait) is probably the less useful of the two.

## Using Traits Dynamically

Expand Down

0 comments on commit c1b93c4

Please sign in to comment.