diff --git a/README.md b/README.md index b82329e..b39bd37 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ async fn main() { A lot of the implemenation details are dealt with by the `#[state_machine]` macro, but it's always valuable to understand what's happening behind the scenes. Furthermore, you'll see that the generated code is actually pretty straight-forward and could easily be written by hand, so if you prefer to avoid using macro's this is totally feasible. -The goal of `statig` is to represent a hierarchical state machine. Conceptually a hierarchical state machine can be tought of as tree. +The goal of `statig` is to represent a hierarchical state machine. Conceptually a hierarchical state machine can be thought of as a tree. ``` ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ diff --git a/statig/src/lib.rs b/statig/src/lib.rs index 3461338..8223981 100644 --- a/statig/src/lib.rs +++ b/statig/src/lib.rs @@ -464,7 +464,7 @@ //! //! A lot of the implementation details are dealt with by the `#[state_machine]` macro, but it's always valuable to understand what's happening behind the scenes. Furthermore, you'll see that the generated code is actually pretty straight-forward and could easily be written by hand, so if you prefer to avoid using macro's this is totally feasible. //! -//! The goal of `statig` is to represent a hierarchical state machine. Conceptually a hierarchical state machine can be thought of as tree. +//! The goal of `statig` is to represent a hierarchical state machine. Conceptually a hierarchical state machine can be thought of as a tree. //! //! ```text //! ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐