Commit 4ce4235
clippy: allow mut_from_ref
The purpose of the function is exactly to change a pointer obtained
from a mutable VolatileSlice into a reference, and doing so is
unsafe. So just shut up clippy.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent a710aa6 commit 4ce4235
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
231 | 234 | | |
232 | 235 | | |
233 | 236 | | |
| |||
0 commit comments