Skip to content

Commit

Permalink
Add conditional derive of (De)Serialize to StoreId
Browse files Browse the repository at this point in the history
fixes compile error with `checkpoint` feature
  • Loading branch information
alexkeizer committed Nov 25, 2022
1 parent dc035a2 commit d6aea60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rt/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub(super) struct Store<T = Entry> {


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


Expand Down

0 comments on commit d6aea60

Please sign in to comment.