We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1091635 commit 5118054Copy full SHA for 5118054
src/macros.rs
@@ -61,7 +61,7 @@ macro_rules! impl_array_newtype {
61
#[inline]
62
fn clone(&self) -> $thing {
63
unsafe {
64
- use std::intrinsics::copy_nonoverlapping;
+ use std::ptr::copy_nonoverlapping;
65
use std::mem;
66
let mut ret: $thing = mem::uninitialized();
67
copy_nonoverlapping(self.as_ptr(),
src/pedersen.rs
@@ -126,7 +126,7 @@ impl Clone for RangeProof {
126
127
fn clone(&self) -> RangeProof {
128
129
130
131
let mut ret: [u8; constants::MAX_PROOF_SIZE] = mem::uninitialized();
132
copy_nonoverlapping(
0 commit comments