Diffstat (limited to 'tests/builder_struct.rs')
-rw-r--r--tests/builder_struct.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/builder_struct.rs b/tests/builder_struct.rs
index f8eb0d6..d63e572 100644
--- a/tests/builder_struct.rs
+++ b/tests/builder_struct.rs
@@ -1,4 +1,4 @@
-use effectful::is_send_sync;
+use effectful::SendSync;
use macro_rules_attribute::derive;
use treaty::{
any::{OwnedStatic, TempBorrowedStatic},
@@ -18,14 +18,12 @@ use crate::common::{
mod common;
-#[derive(Build!, Debug, PartialEq)]
+#[derive(Build!, Debug, PartialEq, SendSync)]
struct X {
a: bool,
b: bool,
}
-is_send_sync!(X);
-
#[test]
fn a_struct_builder_can_build_from_a_sequence_of_field_values() {
let mut scope;