File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " nmt-rs"
3
- version = " 0.2.4 "
3
+ version = " 0.2.5 "
4
4
edition = " 2021"
5
5
description = " A namespaced merkle tree compatible with Celestia"
6
6
license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -843,4 +843,11 @@ mod tests {
843
843
844
844
is_send ( DefaultNmt :: < 1 > :: new ( ) ) ;
845
845
}
846
+
847
+ #[ allow( unused) ]
848
+ fn compilation_test_nmt_is_sync ( ) {
849
+ fn is_sync < T : Sync > ( _t : T ) { }
850
+
851
+ is_sync ( DefaultNmt :: < 1 > :: new ( ) ) ;
852
+ }
846
853
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ impl<T> TakeFirst<T> for [T] {
30
30
}
31
31
}
32
32
33
- type BoxedVisitor < M > = Box < dyn Fn ( & <M as MerkleHash >:: Output ) + Send > ;
33
+ type BoxedVisitor < M > = Box < dyn Fn ( & <M as MerkleHash >:: Output ) + Send + Sync > ;
34
34
35
35
/// Helper data structure for immutable data used during proof narrowing recursion.
36
36
/// All indices are relative to the leaves of the entire tree.
You can’t perform that action at this time.
0 commit comments