Skip to content

Commit

Permalink
Reorder attrs in sqlx::test macro (#3123)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur authored Mar 28, 2024
1 parent 59d5ba6 commit 1f6642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-macros-core/src/test_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ fn expand_advanced(args: AttributeArgs, input: syn::ItemFn) -> crate::Result<Tok
};

Ok(quote! {
#[::core::prelude::v1::test]
#(#attrs)*
#[::core::prelude::v1::test]
fn #name() #ret {
async fn #name(#inputs) #ret {
#body
Expand Down

0 comments on commit 1f6642c

Please sign in to comment.