From: Chris Morgan Date: Tue, 25 Jan 2022 02:48:23 +0000 (+1100) Subject: Refactor to avoid a spurious compatibility warning X-Git-Tag: 1.0.0-beta.1~20 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/521fbfe6bcbf60e7abc8d8ab33bf73349fc4b38d?ds=sidebyside;hp=521fbfe6bcbf60e7abc8d8ab33bf73349fc4b38d 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). ---