Skip to content

Commit 0765f40

Browse files
committed
Readd Copy and Clone on Binary
Got removed in PR #239
1 parent f6e50a9 commit 0765f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustler/src/types/binary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl Drop for OwnedBinary {
123123
unsafe impl Send for OwnedBinary {}
124124

125125
// Borrowed
126-
126+
#[derive(Copy, Clone)]
127127
pub struct Binary<'a> {
128128
inner: ErlNifBinary,
129129
term: Term<'a>,

0 commit comments

Comments
 (0)