Skip to content

Commit

Permalink
Run cargo fmt from CLI as IDE keeps missing cfg line
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtom5152 authored and brycx committed Dec 10, 2024
1 parent eb96ed2 commit c95c29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/claims.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use time::{Duration, OffsetDateTime};
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
/// A collection of claims that are passed as payload for a PASETO token.
pub struct Claims {
#[cfg_attr(feature="serde", serde(flatten))]
#[cfg_attr(feature = "serde", serde(flatten))]
list_of: HashMap<String, Value>,
}

Expand Down

0 comments on commit c95c29a

Please sign in to comment.