From 15e9aa1958d45438a537a4bb01da0b79c5a3d54d Mon Sep 17 00:00:00 2001 From: zohnannor <35764628+zohnannor@users.noreply.github.com> Date: Mon, 25 Jul 2022 01:21:11 +0300 Subject: [PATCH] Fix weird docs typo/copy-paste error (#507) - introduced in a8952a9ee8d8831fa911cef4e7035293c3a9f88b and 4518b6bc8cfbe246d0844b2a32f11f437115d00d --- packages/fermi/src/hooks/state.rs | 4 ++-- packages/hooks/src/usestate.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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