🎨 (core): Retoques de estilo menores
This commit is contained in:
parent
b50d186fb1
commit
997017bb75
11 changed files with 23 additions and 22 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue