We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8b0152 + 673af93 commit d00adf4Copy full SHA for d00adf4
src/unix/linux_like/linux/gnu/b64/s390x.rs
@@ -235,7 +235,7 @@ cfg_if! {
235
236
impl hash::Hash for fpreg_t {
237
fn hash<H: hash::Hasher>(&self, state: &mut H) {
238
- let d: u64 = unsafe { mem::transmute(self.d) };
+ let d: u64 = self.d.to_bits();
239
d.hash(state);
240
}
241
src/unix/linux_like/linux/musl/b64/s390x.rs
@@ -88,7 +88,7 @@ cfg_if! {
88
89
90
91
92
93
94
0 commit comments