Skip to content

Commit

Permalink
chore: fix a clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Nov 16, 2023
1 parent f84dfcc commit ec5c0b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/derive/curve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ macro_rules! new_curve_impl {
}

paste::paste! {
#[allow(unused_imports)]
use ::serde::de::Error as _;
impl<'de> ::serde::Deserialize<'de> for $name {
fn deserialize<D: ::serde::Deserializer<'de>>(
Expand Down Expand Up @@ -334,6 +335,7 @@ macro_rules! new_curve_impl {
}

paste::paste! {
#[allow(unused_imports)]
use ::serde::de::Error as _;
impl<'de> ::serde::Deserialize<'de> for $name_affine {
fn deserialize<D: ::serde::Deserializer<'de>>(
Expand Down

0 comments on commit ec5c0b7

Please sign in to comment.