Open
Description
@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
).