diff --git a/packages/fermi/src/hooks/state.rs b/packages/fermi/src/hooks/state.rs index c75446bbe..96315044c 100644 --- a/packages/fermi/src/hooks/state.rs +++ b/packages/fermi/src/hooks/state.rs @@ -92,8 +92,8 @@ impl AtomState { /// /// This is useful for passing the setter function to other components. /// - /// However, for most cases, calling `to_owned` o`AtomState`te is the - /// preferred way to get "anoth`set_state`tate handle. + /// However, for most cases, calling `to_owned` on the state is the + /// preferred way to get "another" state handle. /// /// /// # Examples diff --git a/packages/hooks/src/usestate.rs b/packages/hooks/src/usestate.rs index cbf35a889..78cf643b1 100644 --- a/packages/hooks/src/usestate.rs +++ b/packages/hooks/src/usestate.rs @@ -110,8 +110,8 @@ impl UseState { /// /// This is useful for passing the setter function to other components. /// - /// However, for most cases, calling `to_owned` o`UseState`te is the - /// preferred way to get "anoth`set_state`tate handle. + /// However, for most cases, calling `to_owned` on the state is the + /// preferred way to get "another" state handle. /// /// /// # Examples