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
The deriving machinery should support #[deriving(Deref)] on newtype structs. Originally newtype structs could always be deref'd to return the wrapped type, and it's useful to be able to opt back into that behavior on a per-struct basis.
Deriving Deref should also derive DerefMut.
The text was updated successfully, but these errors were encountered:
…-lang#14047)
- The lint no longer triggers if one of the operands in the boolean
expression comes from a macro expansion.
- Parenthesis are now removed inside the generated block if they are no
longer necessary.
- Error markers have been added.
changelog: [`short_circuit_statement`]: better handling of macros and
better looking suggestions
The deriving machinery should support
#[deriving(Deref)]
on newtype structs. Originally newtype structs could always be deref'd to return the wrapped type, and it's useful to be able to opt back into that behavior on a per-struct basis.Deriving
Deref
should also deriveDerefMut
.The text was updated successfully, but these errors were encountered: