Skip to content

Commit f89a6bd

Browse files
committed
format changes with rustfmt
1 parent 34739f8 commit f89a6bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sqlx-macros-core/src/derives/attributes.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use proc_macro2::{Ident, Span, TokenStream};
22
use quote::quote_spanned;
33
use syn::{
4-
parenthesized, punctuated::Punctuated, token::Comma, Attribute, DeriveInput, Field, LitStr,
5-
Meta, Token, Type, Variant, LitInt
4+
parenthesized, punctuated::Punctuated, token::Comma, Attribute, DeriveInput, Field, LitInt,
5+
LitStr, Meta, Token, Type, Variant,
66
};
77

88
macro_rules! assert_attribute {
@@ -204,7 +204,7 @@ pub fn parse_child_attributes(input: &[Attribute]) -> syn::Result<SqlxChildAttri
204204
try_from,
205205
skip,
206206
json,
207-
ordinal
207+
ordinal,
208208
})
209209
}
210210

tests/postgres/derives.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ pub async fn test_ordinal() -> anyhow::Result<()> {
748748
assert_eq!(Some(10000), account.balance);
749749
assert_eq!(true, account.active);
750750

751-
Ok(())
751+
Ok(())
752752
}
753753

754754
#[cfg(feature = "macros")]

0 commit comments

Comments
 (0)