mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Motivation: In a test we did `assumingMemoryBound(to: in6_addr.self)` for something that was actually bound to `UInt8`. So we should use `bindMemory(to: in6_addr.self, count: 1)` instead Modifications: replace one `assumingMemoryBound` by `bindMemory` Result: more memory correctness is good even for tests