Function ring::test::compile_time_assert_sync
source · pub fn compile_time_assert_sync<T: Sync>()
Expand description
compile_time_assert_sync::<T>();
fails to compile if T
doesn’t
implement Sync
.
pub fn compile_time_assert_sync<T: Sync>()
compile_time_assert_sync::<T>();
fails to compile if T
doesn’t
implement Sync
.