Commit bfb0e41
committed
internal: init: simplify Zeroable safety check
The `Zeroable` type check uses a small dance with a raw pointer to aid
type inference. It turns out that this is not necessary and type
inference is powerful enough to resolve any ambiguity. Thus remove it.
Suggested-by: Gary Guo <[email protected]>
Signed-off-by: Benno Lossin <[email protected]>1 parent c56d85e commit bfb0e41
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | 418 | | |
424 | 419 | | |
425 | 420 | | |
426 | 421 | | |
427 | 422 | | |
428 | | - | |
| 423 | + | |
429 | 424 | | |
430 | 425 | | |
431 | 426 | | |
| |||
0 commit comments