Diffstat (limited to 'src/walk/walkers/core/value.rs')
| -rw-r--r-- | src/walk/walkers/core/value.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/walk/walkers/core/value.rs b/src/walk/walkers/core/value.rs index 2654a6c..b8e5b79 100644 --- a/src/walk/walkers/core/value.rs +++ b/src/walk/walkers/core/value.rs @@ -38,7 +38,7 @@ impl<T> WalkerTypes for ValueWalker<T> { type Output = (); } -impl<'ctx, T: Send + 'static, E: Effect> crate::Walker<'ctx, E> for ValueWalker<T> { +impl<'ctx, T: Send + Sync + 'static, E: Effect> crate::Walker<'ctx, E> for ValueWalker<T> { fn walk<'a>( self, visitor: Visitor<'a, 'ctx>, @@ -72,7 +72,9 @@ impl<'ctx, T: ?Sized> WalkerTypes for BorrowWalker<'ctx, T> { type Output = (); } -impl<'ctx, T: ?Sized + Sync + 'static, E: Effect> crate::Walker<'ctx, E> for BorrowWalker<'ctx, T> { +impl<'ctx, T: ?Sized + Send + Sync + 'static, E: Effect> crate::Walker<'ctx, E> + for BorrowWalker<'ctx, T> +{ fn walk<'a>( self, visitor: Visitor<'a, 'ctx>, |