Skip to content

Commit 78a034d

Browse files
crlf0710Amanieu
andauthored
Use the correct bound for Cursor Send
Co-Authored-By: Amanieu d'Antras <amanieu@gmail.com>
1 parent b1fbd79 commit 78a034d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/collections/linked_list.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ unsafe impl<T: Send> Send for IterMut<'_, T> {}
18451845
unsafe impl<T: Sync> Sync for IterMut<'_, T> {}
18461846

18471847
#[unstable(feature = "linked_list_cursors", issue = "58533")]
1848-
unsafe impl<T: Send> Send for Cursor<'_, T> {}
1848+
unsafe impl<T: Sync> Send for Cursor<'_, T> {}
18491849

18501850
#[unstable(feature = "linked_list_cursors", issue = "58533")]
18511851
unsafe impl<T: Sync> Sync for Cursor<'_, T> {}

0 commit comments

Comments
 (0)