Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Made Scalar: Send+Sync #644

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scalar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down