File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -747,19 +747,3 @@ mod platform_impl {
747747 . into ( )
748748 }
749749}
750-
751- // The following zero-sized types are for applying Send/Sync restrictions to ensure
752- // consistent behaviour across different platforms. These verbosely named types are used
753- // (rather than using the markers directly) in the hope of making the compile errors
754- // slightly more helpful.
755- //
756- // TODO: Remove these in favour of using negative trait bounds if they stabilise.
757-
758- // A marker used to remove the `Send` and `Sync` traits.
759- struct NotSendSyncAcrossAllPlatforms ( std:: marker:: PhantomData < * mut ( ) > ) ;
760-
761- impl Default for NotSendSyncAcrossAllPlatforms {
762- fn default ( ) -> Self {
763- NotSendSyncAcrossAllPlatforms ( std:: marker:: PhantomData )
764- }
765- }
You can’t perform that action at this time.
0 commit comments