Skip to content

Commit d6aea60

Browse files
committed
Add conditional derive of (De)Serialize to StoreId
fixes compile error with `checkpoint` feature
1 parent dc035a2 commit d6aea60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rt/object.rs

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub(super) struct Store<T = Entry> {
2222

2323

2424
#[derive(Debug, Eq, PartialEq, Hash, Clone, Copy)]
25+
#[cfg_attr(feature = "checkpoint", derive(Serialize, Deserialize))]
2526
pub(super) struct StoreId(usize);
2627

2728

0 commit comments

Comments
 (0)