Skip to content

Commit

Permalink
cargo-clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelciraci committed Jul 28, 2024
1 parent e8ffc94 commit 4662a66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ macro_rules! impl_serde {
($i:ident, $t:ty) => {
#[cfg(feature = "serde")]
impl Serialize for $i {
#[inline]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
Expand All @@ -997,6 +998,7 @@ macro_rules! impl_serde {

#[cfg(feature = "serde")]
impl<'de> Deserialize<'de> for $i {
#[inline]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
Expand Down

0 comments on commit 4662a66

Please sign in to comment.