From: Chris Morgan Date: Tue, 25 Jan 2022 13:12:16 +0000 (+1100) Subject: Revert "removed unsafe code in favor of explicit assert" X-Git-Tag: 1.0.0-beta.1~25 X-Git-Url: https://git.chrismorgan.info/anymap/commitdiff_plain/8abad057b08ea7f67d0f5aef40283b03146e2443?hp=8abad057b08ea7f67d0f5aef40283b03146e2443 Revert "removed unsafe code in favor of explicit assert" This reverts commit 479d756c992af132c6ba45248c65dc230c5986cf. There’s nothing wrong with this patch, but I had never pulled this commit to my local repository and had completely forgotten about it, and today removed the unsafe code in a *different* direction that I like better (`bytes.try_into().map(|bytes| u64::from_ne_bytes(bytes))`), so reverting it so I can cleanly rebase is just easier for me! ---