Open burdges opened 7 years ago
We want folks to use ZeroDrop<T> as a &T, not as a T, so maybe not implementing Deref makes this point somewhat more clearly. At minimum the &* operator looks scary.
ZeroDrop<T>
&T
T
Deref
&*
We want folks to use
ZeroDrop<T>
as a&T
, not as aT
, so maybe not implementingDeref
makes this point somewhat more clearly. At minimum the&*
operator looks scary.