Commit d6b0e77
Merge #471
471: Writable::Writer needs DerefMut trait bound r=burrbull a=couchand
Otherwise, a call to `bits` in the closure passed to `write`/`modify` in a function where the register is bound only on the `Writable` trait will fail to typecheck.
This only causes an issue for code written to be generic over a `Writable` register, so I suspect I'm the only one that's so far been bitten by the bug. In any case, apologies for shipping broken code!
Co-authored-by: Andrew Dona-Couch <hi@andrewcou.ch>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments