Skip to content

Commit

Permalink
fix: add missing serde impl for NonZero
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Jun 12, 2024
1 parent b5c728a commit a84dfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cairo-serde/src/types/non_zero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use crate::{CairoSerde, ContractAddress, Result, U256};
use starknet::core::types::FieldElement;

#[derive(Debug, PartialEq, PartialOrd, Clone)]
#[derive(Debug, PartialEq, PartialOrd, Clone, serde::Serialize, serde::Deserialize)]
pub struct NonZero<T: Zeroable>(T);

impl<T: Zeroable> NonZero<T> {
Expand Down

0 comments on commit a84dfe0

Please sign in to comment.