We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aad1f8e commit 97986a4Copy full SHA for 97986a4
1 file changed
src/splinter_ref.rs
@@ -71,7 +71,7 @@ use crate::{
71
/// let splinter_ref = SplinterRef::from_bytes(shared_bytes).unwrap();
72
/// assert!(splinter_ref.contains(42));
73
/// ```
74
-#[derive(Clone)]
+#[derive(Copy, Clone)]
75
pub struct SplinterRef<B> {
76
pub(crate) data: B,
77
}
0 commit comments