mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
#254 Minor: In docs, Rename EachKey to Each.
This commit is contained in:
parent
0029e1d8f7
commit
6c5bcf30ba
1 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ cfg_if! {
|
|||
use smallvec::SmallVec;
|
||||
use std::{borrow::Cow, cell::RefCell, fmt, hash::Hash, ops::Deref, rc::Rc};
|
||||
|
||||
/// The internal representation of the [`EachKey`] core-component.
|
||||
/// The internal representation of the [`Each`] core-component.
|
||||
#[derive(Clone, PartialEq, Eq)]
|
||||
pub struct EachRepr {
|
||||
#[cfg(all(target_arch = "wasm32", feature = "web"))]
|
||||
|
@ -156,7 +156,7 @@ impl Mountable for EachRepr {
|
|||
}
|
||||
}
|
||||
|
||||
/// The internal representation of an [`EachKey`] item.
|
||||
/// The internal representation of an [`Each`] item.
|
||||
#[derive(PartialEq, Eq)]
|
||||
pub(crate) struct EachItem {
|
||||
#[cfg(all(target_arch = "wasm32", feature = "web"))]
|
||||
|
@ -293,7 +293,7 @@ where
|
|||
K: Eq + Hash + 'static,
|
||||
T: 'static,
|
||||
{
|
||||
/// Creates a new [`EachKey`] component.
|
||||
/// Creates a new [`Each`] component.
|
||||
pub fn new(items_fn: IF, key_fn: KF, each_fn: EF) -> Self {
|
||||
Self {
|
||||
items_fn,
|
||||
|
|
Loading…
Reference in a new issue