mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
Reorder attrs in sqlx::test macro (#3123)
This commit is contained in:
parent
59d5ba606e
commit
1f6642cafa
1 changed files with 1 additions and 1 deletions
|
@ -164,8 +164,8 @@ fn expand_advanced(args: AttributeArgs, input: syn::ItemFn) -> crate::Result<Tok
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(quote! {
|
Ok(quote! {
|
||||||
#[::core::prelude::v1::test]
|
|
||||||
#(#attrs)*
|
#(#attrs)*
|
||||||
|
#[::core::prelude::v1::test]
|
||||||
fn #name() #ret {
|
fn #name() #ret {
|
||||||
async fn #name(#inputs) #ret {
|
async fn #name(#inputs) #ret {
|
||||||
#body
|
#body
|
||||||
|
|
Loading…
Reference in a new issue