Skip to content

Commit

Permalink
Readd Copy and Clone on Binary
Browse files Browse the repository at this point in the history
Got removed in PR #239
  • Loading branch information
filmor committed Jun 18, 2020
1 parent f6e50a9 commit 0765f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustler/src/types/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl Drop for OwnedBinary {
unsafe impl Send for OwnedBinary {}

// Borrowed

#[derive(Copy, Clone)]
pub struct Binary<'a> {
inner: ErlNifBinary,
term: Term<'a>,
Expand Down

0 comments on commit 0765f40

Please sign in to comment.