From 78a034d168260ad89695039dcc38934f938650e2 Mon Sep 17 00:00:00 2001 From: Charles Lew Date: Sat, 25 Apr 2020 22:48:16 +0800 Subject: [PATCH] Use the correct bound for `Cursor` `Send` Co-Authored-By: Amanieu d'Antras --- src/liballoc/collections/linked_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/collections/linked_list.rs b/src/liballoc/collections/linked_list.rs index 9321d38f3b73..fc12e1e7dd98 100644 --- a/src/liballoc/collections/linked_list.rs +++ b/src/liballoc/collections/linked_list.rs @@ -1845,7 +1845,7 @@ unsafe impl Send for IterMut<'_, T> {} unsafe impl Sync for IterMut<'_, T> {} #[unstable(feature = "linked_list_cursors", issue = "58533")] -unsafe impl Send for Cursor<'_, T> {} +unsafe impl Send for Cursor<'_, T> {} #[unstable(feature = "linked_list_cursors", issue = "58533")] unsafe impl Sync for Cursor<'_, T> {}