Remove superflous #[cfg(test)]

This commit is contained in:
Emil Ernerfeldt 2022-08-03 09:31:43 +02:00
parent 1af446b9e8
commit 53249d36df
3 changed files with 0 additions and 3 deletions

View file

@ -1350,7 +1350,6 @@ impl Context {
} }
} }
#[cfg(test)]
#[test] #[test]
fn context_impl_send_sync() { fn context_impl_send_sync() {
fn assert_send_sync<T: Send + Sync>() {} fn assert_send_sync<T: Send + Sync>() {}

View file

@ -593,7 +593,6 @@ impl Areas {
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
#[cfg(test)]
#[test] #[test]
fn memory_impl_send_sync() { fn memory_impl_send_sync() {
fn assert_send_sync<T: Send + Sync>() {} fn assert_send_sync<T: Send + Sync>() {}

View file

@ -54,7 +54,6 @@ pub enum Shape {
Callback(PaintCallback), Callback(PaintCallback),
} }
#[cfg(test)]
#[test] #[test]
fn shape_impl_send_sync() { fn shape_impl_send_sync() {
fn assert_send_sync<T: Send + Sync>() {} fn assert_send_sync<T: Send + Sync>() {}