mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
Remove redunant braces in type_name (#1153)
This commit is contained in:
parent
469c4ac130
commit
64e872ffd8
1 changed files with 1 additions and 1 deletions
|
@ -211,6 +211,6 @@ fn expand_derive_has_sql_type_struct(
|
|||
fn type_name(ident: &Ident, explicit_name: Option<&TypeName>) -> TokenStream {
|
||||
explicit_name.map(|tn| tn.get()).unwrap_or_else(|| {
|
||||
let s = ident.to_string();
|
||||
quote_spanned!(ident.span()=> { #s })
|
||||
quote_spanned!(ident.span()=> #s)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue