未验证 提交 78a034d1 编写于 作者: crlf0710's avatar crlf0710 提交者: GitHub

Use the correct bound for `Cursor` `Send`

Co-Authored-By: NAmanieu d'Antras <amanieu@gmail.com>
上级 b1fbd797
......@@ -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> {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册