Skip to content

Commit 7d991d4

Browse files
committed
use std::pin instead of tokio::pin
1 parent b2f6d57 commit 7d991d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ macro_rules! __select_internal {
3737

3838
// Recursive case: grab head future, add a branch, recurse on tail
3939
([$($arms:tt)*], $head:expr $(, $tail:expr)*) => {
40-
tokio::pin!(__fut = $head);
40+
std::pin::pin!(__fut = $head);
4141
$crate::__select_internal!(
4242
[
4343
$($arms)*

0 commit comments

Comments
 (0)