Commit c7b05b7
committed
Remove generic parameters from
Rationale:
* In a next commit, we would store a trait reference in
`PrettyFormatter<T>::out` instead of using a concrete type
`OutputLocation<T>`.
* If the trait had generic methods, we would get compilation error
"cannot be made into an object" in that next commit.Output trait.1 parent 8cd2889 commit c7b05b7
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments