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

Commit

Permalink
Made Scalar: Send+Sync (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao authored Nov 29, 2021
1 parent f2c7503 commit 9535bcc
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 9535bcc

Please sign in to comment.