From ad0f5d0240b72c2a5bd793495f45734b23e349f3 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 9 Oct 2024 00:54:13 +0200 Subject: [PATCH] fix: Remove impl Send for Value for now They're somewhat safe to use on a different thread, but we don't need to for now. By removing this, we'll be made aware as needed. (cherry picked from commit 2e953d0a1268e2f19671fdbc9e721fc630ac346b) --- rust/nix-expr/src/value.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/nix-expr/src/value.rs b/rust/nix-expr/src/value.rs index 1781e23..e15d5b9 100644 --- a/rust/nix-expr/src/value.rs +++ b/rust/nix-expr/src/value.rs @@ -53,7 +53,6 @@ impl ValueType { pub struct Value { inner: NonNull, } -unsafe impl Send for Value {} impl Value { /// Take ownership of a new Value. ///