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 4a52487
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ members = [
"examples/no_macro/bench",
"examples/no_macro/history",
"examples/no_macro/calculator",
"examples/no_macro/generics",
]
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 4a52487

Please sign in to comment.