Commit a1c116d
authored
Explicitly return the type instead of returning an impl trait (#132)
The type system fails to auto-coerce it to the right type and it's also
not necessary since we know quite well what the function will return.
Closes #131
Signed-off-by: Daniel Egger <daniel@eggers-club.de>1 parent 4d97c1e commit a1c116d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
0 commit comments