mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 07:21:08 +00:00
Run rustfmt
This commit is contained in:
parent
c42e859141
commit
c0e51d7451
@ -29,7 +29,7 @@ use query_macros::*;
|
|||||||
fn block_on<F: std::future::Future>(future: F) -> F::Output {
|
fn block_on<F: std::future::Future>(future: F) -> F::Output {
|
||||||
// TODO: Someone think of something better for async proc macros + tokio
|
// TODO: Someone think of something better for async proc macros + tokio
|
||||||
tokio::runtime::Runtime::new().unwrap().block_on(future)
|
tokio::runtime::Runtime::new().unwrap().block_on(future)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn macro_result(tokens: proc_macro2::TokenStream) -> TokenStream {
|
fn macro_result(tokens: proc_macro2::TokenStream) -> TokenStream {
|
||||||
quote!(
|
quote!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user