Skip to content

Commit

Permalink
Use the correct bound for Cursor Send
Browse files Browse the repository at this point in the history
Co-Authored-By: Amanieu d'Antras <[email protected]>
  • Loading branch information
crlf0710 and Amanieu authored Apr 25, 2020
1 parent b1fbd79 commit 78a034d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/collections/linked_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ unsafe impl<T: Send> Send for IterMut<'_, T> {}
unsafe impl<T: Sync> Sync for IterMut<'_, T> {}

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

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

0 comments on commit 78a034d

Please sign in to comment.