From: Chris Morgan Date: Wed, 2 Feb 2022 13:40:47 +0000 (+1100) Subject: Rename UncheckedAnyExt, fix Extend, tweak things X-Git-Tag: 1.0.0-beta.2~4 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/93511917c3be355cf2696ca97fd21ff180dc5f47?hp=93511917c3be355cf2696ca97fd21ff180dc5f47 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. ---