From 5b81f1df6947d93b527d6ff1fb5ad1afc50dbf78 Mon Sep 17 00:00:00 2001 From: Shukhrat Khannanov Date: Thu, 23 May 2024 12:15:14 +0300 Subject: [PATCH] removed unnecessary directives in Rust structs and enums --- zkllvm/best-practices-limitations/rust-derive.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/zkllvm/best-practices-limitations/rust-derive.mdx b/zkllvm/best-practices-limitations/rust-derive.mdx index f1c78e72..af7b5f3e 100644 --- a/zkllvm/best-practices-limitations/rust-derive.mdx +++ b/zkllvm/best-practices-limitations/rust-derive.mdx @@ -9,7 +9,6 @@ use ark_pallas::Fq; type BlockType = [Fq; 2]; -#[derive(Copy, Clone)] pub struct BlockDataType { prev_block_hash: BlockType, data: BlockType, @@ -50,7 +49,6 @@ use ark_pallas::Fq; type BlockType = [Fq; 2]; #[repr(C)] -#[derive(Copy, Clone)] pub struct BlockDataType { prev_block_hash: BlockType, data: BlockType,