From 2380090f4995b3e156d325f765a023c49ca78a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Fri, 19 Feb 2021 00:00:00 +0000 Subject: [PATCH] Remove unsafe impl Send for CompletedTest & TestResult --- library/test/src/event.rs | 2 -- library/test/src/test_result.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/library/test/src/event.rs b/library/test/src/event.rs index 297bb72aecb..2103a0d10f4 100644 --- a/library/test/src/event.rs +++ b/library/test/src/event.rs @@ -24,8 +24,6 @@ impl CompletedTest { } } -unsafe impl Send for CompletedTest {} - #[derive(Debug, Clone)] pub enum TestEvent { TeFiltered(Vec), diff --git a/library/test/src/test_result.rs b/library/test/src/test_result.rs index 598fb670bb4..c5c56ca9c7f 100644 --- a/library/test/src/test_result.rs +++ b/library/test/src/test_result.rs @@ -24,8 +24,6 @@ pub enum TestResult { TrTimedFail, } -unsafe impl Send for TestResult {} - /// Creates a `TestResult` depending on the raw result of test execution /// and associated data. pub fn calc_result<'a>(