Commit aa9de8f
committed
Merge #194: Remove a few casts
300efbb Remove a few casts (Tobin C. Harding)
Pull request description:
In an effort to be more readable use `usize::from` instead of a cast. There are a few casts left but this all the ones that can use `From`.
Refactor only, no logic changes.
Close #181
ACKs for top commit:
apoelstra:
ACK 300efbb successfully ran local tests
Tree-SHA512: d955655b28c74dd5d240aef65b925fd695a2e703afe7a29be5c121509ebaa041dbd3f3b010a2c6ef02abf95cddd73fd4dc8939dd5525c8967316a4f6efb9485a1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
| 273 | + | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
0 commit comments