]> git.lizzy.rs Git - rust.git/commitdiff
Remove unsafe impl Send for CompletedTest & TestResult
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Fri, 19 Feb 2021 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Fri, 19 Feb 2021 00:00:00 +0000 (00:00 +0000)
library/test/src/event.rs
library/test/src/test_result.rs

index 297bb72aecb2f7362202dcb81f6e145b5d45f14a..2103a0d10f4c6cc16be51058fd933f77206e5b8a 100644 (file)
@@ -24,8 +24,6 @@ pub fn new(
     }
 }
 
-unsafe impl Send for CompletedTest {}
-
 #[derive(Debug, Clone)]
 pub enum TestEvent {
     TeFiltered(Vec<TestDesc>),
index 598fb670bb4bf678242921f42d7c966a6866aa3d..c5c56ca9c7ff9c57305d49946bdf6fec0b3aaa12 100644 (file)
@@ -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>(