You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In seemingly all situations, QGadget produces a clippy::transmute_ptr_to_ref warning.
In a struct with signals, QObject produces a clippy::useless_transmute for each signal.
For both of these, the transmute should be replaced. For the first, &*val can be used instead of transmute(val). For the second, val as *const _ can be used instead of transmute(val).
The text was updated successfully, but these errors were encountered:
In seemingly all situations,
QGadget
produces aclippy::transmute_ptr_to_ref
warning.In a struct with signals,
QObject
produces aclippy::useless_transmute
for each signal.For both of these, the transmute should be replaced. For the first,
&*val
can be used instead oftransmute(val)
. For the second,val as *const _
can be used instead oftransmute(val)
.The text was updated successfully, but these errors were encountered: