From 0917370d36d0026defe07248d71ea5b8d2a2712c Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Thu, 22 Jun 2023 09:55:18 +0200
Subject: [PATCH] remove unnecessary reference
---
nucypher-core-wasm/src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nucypher-core-wasm/src/lib.rs b/nucypher-core-wasm/src/lib.rs
index 4549e750..f570bd69 100644
--- a/nucypher-core-wasm/src/lib.rs
+++ b/nucypher-core-wasm/src/lib.rs
@@ -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)
}
}
};