Use the correct bound for Cursor Send

Co-Authored-By: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
Charles Lew 2020-04-25 22:48:16 +08:00 committed by GitHub
parent b1fbd797c0
commit 78a034d168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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> {}