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

- introduced in a8952a9ee8 and 4518b6bc8c
This commit is contained in:
zohnannor 2022-07-25 01:21:11 +03:00 committed by GitHub
parent 39cbc82107
commit 15e9aa1958
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

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

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