Refactor to avoid a spurious compatibility warning
authorChris Morgan <me@chrismorgan.info>
committerChris Morgan <me@chrismorgan.info>
commit521fbfe6bcbf60e7abc8d8ab33bf73349fc4b38d
tree70f2427b8490f3b357a4417a7bb671d83d2fdbfd
parent0656f182894b8f7c5c172b6f762c922e1a8b4ed9
Refactor to avoid a spurious compatibility warning

Explained in the SAFETY comment. I’m not happy about *doing* this, but
it will make *using* this crate easier, since future-compatibility lints
make noise on bin crate builds, so this was polluting other people’s
code and making life harder for users.

I have traded one evil (a spurious warning) for another (unsafe code).
CHANGELOG.md
README.md
src/any.rs