mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
rt: relaxed trait bounds for LinkedList::into_guarded (#6630)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user