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:
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: