💡 Normaliza comentarios en varios archivos
This commit is contained in:
parent
2dfca51c31
commit
3789d05a40
7 changed files with 19 additions and 9 deletions
|
@ -44,10 +44,12 @@ pub fn add_action(action: ActionBox) {
|
|||
/// acción específica.
|
||||
///
|
||||
/// # Parámetros genéricos
|
||||
///
|
||||
/// - `A`: Tipo de acción que esperamos procesar. Debe implementar [`ActionDispatcher`].
|
||||
/// - `F`: Función asociada a cada acción, devuelve un valor de tipo `B`.
|
||||
///
|
||||
/// # Ejemplo de uso
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// pub(crate) fn dispatch(component: &mut C, cx: &mut Context) {
|
||||
/// dispatch_actions(
|
||||
|
|
|
@ -278,7 +278,8 @@ impl IntoIterator for Children {
|
|||
|
||||
/// Consume la estructura `Children`, devolviendo un iterador que consume los elementos.
|
||||
///
|
||||
/// ### Ejemplo de uso:
|
||||
/// # Ejemplo de uso:
|
||||
///
|
||||
/// ```rust#ignore
|
||||
/// let children = Children::new().with(child1).with(child2);
|
||||
/// for child in children {
|
||||
|
@ -296,7 +297,8 @@ impl<'a> IntoIterator for &'a Children {
|
|||
|
||||
/// Itera sobre una referencia inmutable de `Children`, devolviendo un iterador de referencia.
|
||||
///
|
||||
/// ### Ejemplo de uso:
|
||||
/// # Ejemplo de uso:
|
||||
///
|
||||
/// ```rust#ignore
|
||||
/// let children = Children::new().with(child1).with(child2);
|
||||
/// for child in &children {
|
||||
|
@ -314,7 +316,8 @@ impl<'a> IntoIterator for &'a mut Children {
|
|||
|
||||
/// Itera sobre una referencia mutable de `Children`, devolviendo un iterador mutable.
|
||||
///
|
||||
/// ### Ejemplo de uso:
|
||||
/// # Ejemplo de uso:
|
||||
///
|
||||
/// ```rust#ignore
|
||||
/// let mut children = Children::new().with(child1).with(child2);
|
||||
/// for child in &mut children {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue