Skip to content

Commit

Permalink
rt: relaxed trait bounds for LinkedList::into_guarded (#6630)
Browse files Browse the repository at this point in the history
  • Loading branch information
wathenjiang committed Jun 13, 2024
1 parent 479f736 commit a865ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/util/linked_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ feature! {
_marker: PhantomData<*const L>,
}

impl<U, L: Link<Handle = NonNull<U>>> LinkedList<L, L::Target> {
impl<L: Link> LinkedList<L, L::Target> {
/// 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.
Expand Down

0 comments on commit a865ca1

Please sign in to comment.