From 917d9e51f35e9880b5e06c4ea4242ac9264b3376 Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Sun, 28 Nov 2021 16:06:01 +0000 Subject: [PATCH] Made Scalar: Send+Sync --- src/scalar/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scalar/mod.rs b/src/scalar/mod.rs index d5694e165dd..9a2ca3fecf5 100644 --- a/src/scalar/mod.rs +++ b/src/scalar/mod.rs @@ -25,7 +25,7 @@ pub use struct_::*; /// Trait object declaring an optional value with a [`DataType`]. /// This strait is often used in APIs that accept multiple scalar types. -pub trait Scalar: std::fmt::Debug { +pub trait Scalar: std::fmt::Debug + Send + Sync { /// convert itself to fn as_any(&self) -> &dyn Any;