Commit 055cbde
committed
doc: Corrected example in 17.8 Deriving implementations for traits
Corrected example to to use Rand trait referenced in preceding
description and included an example using the Show trait to print ABC.1 parent e65aea5 commit 055cbde
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2584 | 2584 | | |
2585 | 2585 | | |
2586 | 2586 | | |
| 2587 | + | |
| 2588 | + | |
2587 | 2589 | | |
2588 | 2590 | | |
2589 | 2591 | | |
2590 | | - | |
| 2592 | + | |
2591 | 2593 | | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
2592 | 2599 | | |
2593 | 2600 | | |
2594 | 2601 | | |
| |||
0 commit comments