Closed toyboot4e closed 2 years ago
It allows user to replace Index with Index<T> when they enable typed-index feature.
Index
Index<T>
typed-index
Changes:
Index!(T)
lib.rs
index.rs
crate::index::create_index
I'm not sure if it's a good idea. Please do as you like :)
I just forked thunderdome and I don't need it actually.
thunderdome
It was a very bad idea, since feature flags are additive!
It allows user to replace
Index
withIndex<T>
when they enabletyped-index
feature.Changes:
Index!(T)
tolib.rs
which conditionally refers to eitherIndex
orIndex<T>
Index
orIndex<T>
was moved toindex.rs
(for no particular reason)Index
orIndex<T>
is crated withcrate::index::create_index
which conditionally returnsIndex
orIndex<T>
I'm not sure if it's a good idea. Please do as you like :)