Diffstat (limited to 'src/protocol/visitor.rs')
-rw-r--r--src/protocol/visitor.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/protocol/visitor.rs b/src/protocol/visitor.rs
index 5916235..087174e 100644
--- a/src/protocol/visitor.rs
+++ b/src/protocol/visitor.rs
@@ -12,8 +12,8 @@ use effectful::{
bound::HasSendAndSync,
effective::{Effective, SplitUpdateEffective},
environment::{DynBind, Environment, NativeForm},
- for_lt, forward_send_sync,
- higher_ranked::Mut,
+ for_lt,
+ higher_ranked::Mut, SendSync,
};
pub use recoverable::*;
pub use request_hint::*;
@@ -21,7 +21,7 @@ pub use sequence::*;
pub use tag::*;
pub use value::*;
-#[derive(Copy, Clone)]
+#[derive(Copy, Clone, SendSync)]
#[must_use]
pub enum VisitResult<S = ()> {
/// The protocol was not used.
@@ -34,8 +34,6 @@ pub enum VisitResult<S = ()> {
Control(Flow),
}
-forward_send_sync!({S} {} VisitResult<S>);
-
impl<S> VisitResult<S> {
pub fn unit_skipped(self) -> VisitResult<()> {
match self {