We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20f124a + a61c841 commit 275d4e7Copy full SHA for 275d4e7
library/core/tests/slice.rs
@@ -1197,7 +1197,6 @@ fn chunks_mut_are_send_and_sync() {
1197
use std::slice::{ChunksExactMut, ChunksMut, RChunksExactMut, RChunksMut};
1198
use std::sync::MutexGuard;
1199
1200
- #[allow(unused)]
1201
fn assert_send_and_sync()
1202
where
1203
ChunksMut<'static, Cell<i32>>: Send,
@@ -1210,6 +1209,8 @@ fn chunks_mut_are_send_and_sync() {
1210
1209
RChunksExactMut<'static, MutexGuard<'static, u32>>: Sync,
1211
{
1212
}
+
1213
+ assert_send_and_sync();
1214
1215
1216
#[test]
0 commit comments