Fix weird docs typo/copy-paste error (#507)

- introduced in a8952a9ee8 and 4518b6bc8c
This commit is contained in:
zohnannor authored and GitHub committed 2022-07-24 17:21:11 -05:00
1 parent 39cbc82107
commit 15e9aa1958
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -92,8 +92,8 @@ impl<T: 'static> AtomState<T> {
///
/// 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
+2 -2
View File
@@ -110,8 +110,8 @@ impl<T: 'static> UseState<T> {
///
/// 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