burdges / zerodrop-rs

Zero data when dropped in Rust
Other
2 stars 1 forks source link

Should we have a `Deref` trait? #9

Open burdges opened 7 years ago

burdges commented 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.