mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-27 02:58:55 +00:00
Fix the formatting
This commit is contained in:
parent
24c85d20d6
commit
7cb49d2cd6
@ -55,7 +55,10 @@ pub fn parse_container_attributes(input: &[Attribute]) -> syn::Result<SqlxContai
|
||||
let mut rename = None;
|
||||
let mut rename_all = None;
|
||||
|
||||
for attr in input.iter().filter(|a| a.path.is_ident("sqlx") || a.path.is_ident("repr")) {
|
||||
for attr in input
|
||||
.iter()
|
||||
.filter(|a| a.path.is_ident("sqlx") || a.path.is_ident("repr"))
|
||||
{
|
||||
let meta = attr
|
||||
.parse_meta()
|
||||
.map_err(|e| syn::Error::new_spanned(attr, e))?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user