💡 Mejora legibilidad de comentarios

This commit is contained in:
Manuel Cillero 2025-09-28 08:51:21 +02:00
parent f5290b477f
commit f5fb4b7a1d
21 changed files with 74 additions and 68 deletions

View file

@ -47,7 +47,7 @@ impl Component for Block {
}
impl Block {
// Block BUILDER *******************************************************************************
// **< Block BUILDER >**************************************************************************
/// Establece el identificador único (`id`) del bloque.
#[builder_fn]
@ -77,14 +77,14 @@ impl Block {
self
}
/// Modifica la lista de hijos (`children`) aplicando una operación.
/// Modifica la lista de hijos (`children`) aplicando una operación [`ChildOp`].
#[builder_fn]
pub fn with_child(mut self, op: ChildOp) -> Self {
self.children.alter_child(op);
self
}
// Block GETTERS *******************************************************************************
// **< Block GETTERS >**************************************************************************
/// Devuelve las clases CSS asociadas al bloque.
pub fn classes(&self) -> &AttrClasses {

View file

@ -49,7 +49,7 @@ impl Component for Html {
}
impl Html {
// Html BUILDER ********************************************************************************
// **< Html BUILDER >***************************************************************************
/// Crea una instancia que generará el `Markup`, con acceso opcional al contexto.
///
@ -77,7 +77,7 @@ impl Html {
self
}
// Html GETTERS ********************************************************************************
// **< Html GETTERS >***************************************************************************
/// Aplica la función interna de renderizado con el [`Context`] proporcionado.
///

View file

@ -39,7 +39,7 @@ impl Component for PoweredBy {
}
impl PoweredBy {
// PoweredBy BUILDER ***************************************************************************
// **< PoweredBy BUILDER >**********************************************************************
/// Establece el texto de copyright que mostrará el componente.
///
@ -58,7 +58,7 @@ impl PoweredBy {
self
}
// PoweredBy GETTERS ***************************************************************************
// **< PoweredBy GETTERS >**********************************************************************
/// Devuelve el texto de copyright actual, si existe.
pub fn copyright(&self) -> Option<&str> {