Skip to content

Commit

Permalink
docs: Update entry_points macro order (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulikthebird authored Jul 18, 2024
1 parent f2084d7 commit 98aa2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/basics/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pub struct CounterContract {
pub(crate) count: Item<u32>,
}
#[contract]
#[entry_points]
#[contract]
impl CounterContract {
pub const fn new() -> Self {
Self {
Expand Down Expand Up @@ -83,8 +83,8 @@ pub struct CounterContract {
pub(crate) count: Item<u32>,
}
#[contract]
#[entry_points]
#[contract]
impl CounterContract {
pub const fn new() -> Self {
Self {
Expand Down

0 comments on commit 98aa2fd

Please sign in to comment.