Skip to content

Commit 70afe59

Browse files
committed
Add serialize and deserialize methods to Codebase with #[must_use] attribute
1 parent e1b679e commit 70afe59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/codebase.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,12 @@ impl Codebase<SealedState> {
187187
res.into_iter()
188188
}
189189

190+
#[must_use]
190191
pub fn serialize(&self) -> String {
191192
todo!("Implement deserialization")
192193
}
193194

195+
#[must_use]
194196
pub fn deserialize(_: &str) -> Self {
195197
todo!("Implement deserialization")
196198
}

0 commit comments

Comments
 (0)