You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create explicit struct reading pack indexes
use generics rather than trait objects as casting from &Trait to &SuperTrait is not implemented (rust-lang/rfcs#2765)
and its very inconveninent to not be able to pass `&mut BufReadSeek` to a function that expects a `&mut BufRead`.
Furthermore, the main reason we were using dynamic dispatch in the first
place was just to make certain traits (Serialize & hence BitObj) object safe. I think Deserialize was rewritten to use dyn to be consistent with Serialize.
0 commit comments