From 11ea962f8151c7393c4b25b859a74c744c0f57e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 18 Oct 2023 18:38:15 +0300 Subject: [PATCH] ndi: Remove wrong `Clone` impl on `RecvInstance` Part-of: --- net/ndi/src/ndi.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ndi/src/ndi.rs b/net/ndi/src/ndi.rs index ecbc648c..a7edcd79 100644 --- a/net/ndi/src/ndi.rs +++ b/net/ndi/src/ndi.rs @@ -76,6 +76,7 @@ impl<'a> FindBuilder<'a> { #[derive(Debug)] pub struct FindInstance(ptr::NonNull<::std::os::raw::c_void>); + unsafe impl Send for FindInstance {} impl FindInstance { @@ -250,7 +251,7 @@ impl<'a> RecvBuilder<'a> { } } -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct RecvInstance(ptr::NonNull<::std::os::raw::c_void>); unsafe impl Send for RecvInstance {}