@carllerche wanted a way to make a newtyped &mut that would reborrow in the same implicit way that reborrows do today. That is, with an &mut, foo(ptr) is roughly equivalent to foo(&mut *ptr), but if ptr is MyRef<'a>(&'a mut ...), then this will not coerce from MyRef<'a> to MyRef<'b> (where 'a:'b).
@carllerche wanted a way to make a newtyped
&mutthat would reborrow in the same implicit way that reborrows do today. That is, with an&mut,foo(ptr)is roughly equivalent tofoo(&mut *ptr), but ifptrisMyRef<'a>(&'a mut ...), then this will not coerce fromMyRef<'a>toMyRef<'b>(where'a:'b).