♻️ Cambia Self::default() por Tipo::default()
This commit is contained in:
parent
47c47ba9a0
commit
25d32ec5de
21 changed files with 69 additions and 68 deletions
|
|
@ -208,12 +208,12 @@ pub struct Children(Vec<Child>);
|
|||
impl Children {
|
||||
/// Crea una lista vacía.
|
||||
pub fn new() -> Self {
|
||||
Children::default()
|
||||
Self::default()
|
||||
}
|
||||
|
||||
/// Crea una lista con un componente hijo inicial.
|
||||
pub fn with(child: Child) -> Self {
|
||||
Children::default().with_child(ChildOp::Add(child))
|
||||
Self::default().with_child(ChildOp::Add(child))
|
||||
}
|
||||
|
||||
/// Fusiona varias listas de `Children` en una sola.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue