We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f64817 + 4a74c33 commit a844529Copy full SHA for a844529
core/src/any.rs
@@ -783,7 +783,7 @@ impl TypeId {
783
784
// This is a provenance-stripping memcpy.
785
for (i, chunk) in self.data.iter().copied().enumerate() {
786
- let chunk = chunk.expose_provenance().to_ne_bytes();
+ let chunk = chunk.addr().to_ne_bytes();
787
let start = i * chunk.len();
788
bytes[start..(start + chunk.len())].copy_from_slice(&chunk);
789
}
0 commit comments