Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 5b81f1d

Browse files
committed
removed unnecessary directives in Rust structs and enums
1 parent e0cb199 commit 5b81f1d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

zkllvm/best-practices-limitations/rust-derive.mdx

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use ark_pallas::Fq;
99

1010
type BlockType = [Fq; 2];
1111

12-
#[derive(Copy, Clone)]
1312
pub struct BlockDataType {
1413
prev_block_hash: BlockType,
1514
data: BlockType,
@@ -50,7 +49,6 @@ use ark_pallas::Fq;
5049
type BlockType = [Fq; 2];
5150

5251
#[repr(C)]
53-
#[derive(Copy, Clone)]
5452
pub struct BlockDataType {
5553
prev_block_hash: BlockType,
5654
data: BlockType,

0 commit comments

Comments
 (0)