Use the correct bound for Cursor Send
Co-Authored-By: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
parent
b1fbd797c0
commit
78a034d168
1 changed files with 1 additions and 1 deletions
|
|
@ -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> {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue