From c95c29a09d49b217841ad071f5817406b4869766 Mon Sep 17 00:00:00 2001 From: Tom Mychost Date: Tue, 10 Dec 2024 15:14:48 +0000 Subject: [PATCH] Run `cargo fmt` from CLI as IDE keeps missing cfg line --- src/claims.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/claims.rs b/src/claims.rs index 78b00cf..2c0a78b 100644 --- a/src/claims.rs +++ b/src/claims.rs @@ -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, }