Skip to content

Commit 7d5df69

Browse files
Fix cargo fmt (#52)
1 parent 61ef886 commit 7d5df69

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/attributes.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ impl FromMeta for IdentList {
3434
let meta = match nested_meta {
3535
NestedMeta::Meta(m) => m,
3636
NestedMeta::Lit(l) => {
37-
return Err(Error::custom(format!(
38-
"expected ident, got literal: {l:?}"
39-
)))
37+
return Err(Error::custom(format!("expected ident, got literal: {l:?}")))
4038
}
4139
};
4240
let path = meta.path();

0 commit comments

Comments
 (0)