🎨 (core): Retoques de estilo menores

This commit is contained in:
Manuel Cillero 2026-08-21 08:23:39 +02:00
parent b50d186fb1
commit 997017bb75
11 changed files with 23 additions and 22 deletions

View file

@ -37,9 +37,10 @@ impl TestComp {
/// Creates a component with no id, with fixed output text.
fn text(text: &str) -> Self {
let mut c = Self::default();
c.text = text.to_string();
c
Self {
text: text.to_string(),
..Default::default()
}
}
}