From a865ca139aa68328ee5accf27ba0181cd330de6d Mon Sep 17 00:00:00 2001 From: Weijia Jiang Date: Thu, 13 Jun 2024 14:50:28 +0800 Subject: [PATCH] rt: relaxed trait bounds for `LinkedList::into_guarded` (#6630) --- tokio/src/util/linked_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/util/linked_list.rs b/tokio/src/util/linked_list.rs index 0274849b0..3650f87fb 100644 --- a/tokio/src/util/linked_list.rs +++ b/tokio/src/util/linked_list.rs @@ -351,7 +351,7 @@ feature! { _marker: PhantomData<*const L>, } - impl>> LinkedList { + impl LinkedList { /// Turns a linked list into the guarded version by linking the guard node /// with the head and tail nodes. Like with other nodes, you should guarantee /// that the guard node is pinned in memory.