Commit 0cd1de76 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by André Silva
Browse files

Eliminate some more `transmute()` (#8879)

* eliminate some more transmute()

* Address `review comments`

* Make unsafe block smaller
* Use different byte-order than `std`, read words as big endian instead
of little endian!

* Fix IpAddresses nits

* Use `from_be` to work both for big and little endian
* Ipv6 addresses were incorrectly `transmuted`

* remove needless lifetime annotation
parent 5ae8e8a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment