Skip to content

Commit

Permalink
Update docs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeloof committed Jan 7, 2025
1 parent 72e9ba0 commit 771a724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl IntoStateMachine for Blinky {

type Context<'ctx> = Context;

const INITIAL: State = State::off(10);
const INITIAL: fn() -> State = || State::off(10);
}
```

Expand Down
2 changes: 1 addition & 1 deletion statig/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@
//!
//! type Context<'ctx> = Context;
//!
//! const INITIAL: State = State::off(10);
//! const INITIAL: fn() -> State = || State::off(10);
//! }
//! ```
//!
Expand Down

0 comments on commit 771a724

Please sign in to comment.