Rename UncheckedAnyExt, fix Extend, tweak things
authorChris Morgan <me@chrismorgan.info>
committerChris Morgan <me@chrismorgan.info>
commit93511917c3be355cf2696ca97fd21ff180dc5f47
tree58c5320a2fd16e37b9fdca4b844e09a65e7a4ce1
parent9ddafe25f4d8dc46cc25e468cb1666ef25c17505
Rename UncheckedAnyExt, fix Extend, tweak things

The *name* UncheckedAnyExt was ending up visible in docs, but it had
become an increasingly unpleasant name. “Downcast” is suitable, though,
being private, it’s not still not perfect. But there’s no point in
making it public, as people generally can’t implement it because of
coherence rules (I tried).

Plus documentation and style changes.

As for Extend, eh, that should ideally be in a different commit, but
it’s here now, and I’m the only one working on this code base in
general, so I permit myself to be slightly lazy from time to time.
Trouble was Downcast should never have had an Any supertrait, as it was
grossly misleading, leading to type_id giving `dyn Any`’s TypeId rather
than the underlying type’s.
CHANGELOG.md
src/any.rs
src/lib.rs