From 53249d36df3df0a8212331ada4d4236560b106d4 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 3 Aug 2022 09:31:43 +0200 Subject: [PATCH] Remove superflous #[cfg(test)] --- egui/src/context.rs | 1 - egui/src/memory.rs | 1 - epaint/src/shape.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/egui/src/context.rs b/egui/src/context.rs index 34f2f41a..2b3c9ff2 100644 --- a/egui/src/context.rs +++ b/egui/src/context.rs @@ -1350,7 +1350,6 @@ impl Context { } } -#[cfg(test)] #[test] fn context_impl_send_sync() { fn assert_send_sync() {} diff --git a/egui/src/memory.rs b/egui/src/memory.rs index 4241a932..8aca74fd 100644 --- a/egui/src/memory.rs +++ b/egui/src/memory.rs @@ -593,7 +593,6 @@ impl Areas { // ---------------------------------------------------------------------------- -#[cfg(test)] #[test] fn memory_impl_send_sync() { fn assert_send_sync() {} diff --git a/epaint/src/shape.rs b/epaint/src/shape.rs index 9bf4e32a..1409bfb4 100644 --- a/epaint/src/shape.rs +++ b/epaint/src/shape.rs @@ -54,7 +54,6 @@ pub enum Shape { Callback(PaintCallback), } -#[cfg(test)] #[test] fn shape_impl_send_sync() { fn assert_send_sync() {}