From 7bc7aac99aae96f8ec4e3830b581c3fbc15ea02b Mon Sep 17 00:00:00 2001 From: Gabriel Talbert Bunt Date: Wed, 22 May 2024 18:06:39 -0400 Subject: [PATCH] Fix small typo in docs --- README.md | 2 +- statig/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 //! ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐