Skip to content

Commit

Permalink
removed unnecessary directives in Rust structs and enums
Browse files Browse the repository at this point in the history
  • Loading branch information
SKHDev195 committed May 23, 2024
1 parent e0cb199 commit 5b81f1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zkllvm/best-practices-limitations/rust-derive.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use ark_pallas::Fq;

type BlockType = [Fq; 2];

#[derive(Copy, Clone)]
pub struct BlockDataType {
prev_block_hash: BlockType,
data: BlockType,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5b81f1d

Please sign in to comment.