Suggest raw_ptr.cast()
over raw_ptr as _
#4065
Labels
A-lint
Area: New lints
L-complexity
Lint: Belongs in the complexity lint group
L-style
Lint: Belongs in the style lint group
L-unnecessary
Lint: Warn about unnecessary code
S-blocked
Status: marked as blocked ❌ on something else such as an RFC or other implementation work
T-middle
Type: Probably requires verifiying types
The proposed
cast
method only allows casting the type without touching themut
/const
ness or even going tousize
.The text was updated successfully, but these errors were encountered: