Skip to content

Commit

Permalink
remove unnecessary reference
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Jun 22, 2023
1 parent 77f2157 commit 0917370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nucypher-core-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ macro_rules! generate_to_bytes {
impl $struct_name {
#[wasm_bindgen(js_name = "toBytes")]
pub fn to_bytes(&self) -> Box<[u8]> {
to_bytes(&self)
to_bytes(self)
}
}
};
Expand Down

0 comments on commit 0917370

Please sign in to comment.