Skip to content

Commit

Permalink
macros: use ::core qualified imports instead of ::std inside tokio::t…
Browse files Browse the repository at this point in the history
…est macro (#5973)
  • Loading branch information
complexspaces committed Sep 1, 2023
1 parent fd7d0ad commit 8b312ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-macros/src/entry.rs
Expand Up @@ -402,7 +402,7 @@ fn parse_knobs(mut input: ItemFn, is_test: bool, config: FinalConfig) -> TokenSt
quote! {
let body = async #body;
#crate_path::pin!(body);
let body: ::std::pin::Pin<&mut dyn ::std::future::Future<Output = #output_type>> = body;
let body: ::core::pin::Pin<&mut dyn ::core::future::Future<Output = #output_type>> = body;
}
} else {
quote! {
Expand Down

0 comments on commit 8b312ee

Please sign in to comment.