Skip to content

Commit a61c841

Browse files
committed
actually call assert_send_and_sync
1 parent 04f72f9 commit a61c841

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/tests/slice.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,6 @@ fn chunks_mut_are_send_and_sync() {
11971197
use std::slice::{ChunksExactMut, ChunksMut, RChunksExactMut, RChunksMut};
11981198
use std::sync::MutexGuard;
11991199

1200-
#[allow(unused)]
12011200
fn assert_send_and_sync()
12021201
where
12031202
ChunksMut<'static, Cell<i32>>: Send,
@@ -1210,6 +1209,8 @@ fn chunks_mut_are_send_and_sync() {
12101209
RChunksExactMut<'static, MutexGuard<'static, u32>>: Sync,
12111210
{
12121211
}
1212+
1213+
assert_send_and_sync();
12131214
}
12141215

12151216
#[test]

0 commit comments

Comments
 (0)