[package]
name = "anymap"
-version = "0.9.11"
+version = "0.9.12"
authors = ["Chris Morgan <me@chrismorgan.info>"]
description = "A safe and convenient store for one value of each type"
#documentation = "http://www.rust-ci.org/chris-morgan/anymap/doc/anymap/index.html"
// This expects to receive one and exactly one 64-bit value
debug_assert!(bytes.len() == 8);
unsafe {
- std::ptr::copy_nonoverlapping_memory(&mut self.value,
- transmute(&bytes[0]),
- 1)
+ std::ptr::copy_nonoverlapping(&mut self.value, transmute(&bytes[0]), 1)
}
}