Skip to content

Commit

Permalink
fix: Fix incorrect syntax in struct declaration (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdqst authored Dec 9, 2024
1 parent 1cb9185 commit cafa579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/developers/advanced_topics/contract_finalize.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ cross-application call with `Operation::EndSession` before the transaction ends.

```rust,ignore
pub struct MyContract {
state: MyState;
runtime: ContractRuntime<Self>;
active_sessions: HashSet<ApplicationId>;
state: MyState,
runtime: ContractRuntime<Self>,
active_sessions: HashSet<ApplicationId>,
}
impl Contract for MyContract {
Expand Down

0 comments on commit cafa579

Please sign in to comment.