Actualiza y simplifica la estructura del código

Revisión general del código fuente para asegurar los elementos que deben
ser públicos y estandarizar el uso de funciones globales.
This commit is contained in:
Manuel Cillero 2022-03-02 23:19:16 +01:00
parent 67952f6840
commit b6dd473578
34 changed files with 250 additions and 237 deletions

View file

@ -14,7 +14,7 @@ impl PageComponent for Chunck {
renderable: always,
weight : 0,
markup : Vec::new(),
template : "default".to_string(),
template : "default".to_owned(),
}
}
@ -59,7 +59,7 @@ impl Chunck {
}
pub fn using_template(mut self, template: &str) -> Self {
self.template = template.to_string();
self.template = template.to_owned();
self
}