Skip to content

Commit

Permalink
Fix issue 49
Browse files Browse the repository at this point in the history
holochain-gym#49
Note: This is strictly to bring the file into line with the docs (also see holochain-gym/holochain-gym.github.io#50). The functionality has not been tested.
  • Loading branch information
matthabermehl authored Dec 3, 2021
1 parent 1abce5a commit 428581f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions 1.basic/2.hashes/exercise/zomes/exercise/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
use hdk::prelude::*;

entry_defs![Book::entry_def()];

#[hdk_entry(id = "book")]
pub struct Book {
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct SomeExternalInput {
title: String,
content: String,
}
Expand Down

0 comments on commit 428581f

Please sign in to comment.