Re: [dev-servo] custom derive for Deref/DerefMut

2017-07-15 Thread Jim Blandy
A macro_rules macro wouldn't serve here? On Fri, Jul 14, 2017 at 5:26 PM, Bobby Holley wrote: > On Fri, Jul 14, 2017 at 2:24 AM, Anthony Ramine wrote: > > > > > > Le 14 juil. 2017 à 02:13, Bobby Holley a > écrit : > > > > > > There's a lot of boilerplate involved just to make a newtype [1]. Is

Re: [dev-servo] custom derive for Deref/DerefMut

2017-07-15 Thread Alex Webster
Unsubscribe On Jul 13, 2017 8:20 PM, "Bobby Holley" wrote: Sorry, wrong link. I meant: https://reviewboard.mozilla.org/r/157064/diff/3#index_header On Thu, Jul 13, 2017 at 5:13 PM, Bobby Holley wrote: > There's a lot of boilerplate involved just to make a newtype [1]. Is this > something we c