Commit e8d55cd
authored
refactor: Fix transform casts from non-unit to unit types (#1567)
Fixes the example from #1560 by emitting the following pattern:
```rust
{
let _ = crate::app::src::rng::randombytes(
&raw mut seed as *mut ::core::ffi::c_uchar,
(3 as ::core::ffi::c_int * crate::params_sphincs_haraka_128s_h::SPX_N)
as ::core::ffi::c_ulonglong,
);
()
};
```1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
190 | 197 | | |
191 | 198 | | |
192 | 199 | | |
| |||
0 commit comments