Merge pull request #2487 from vladh/fix-reconcile-typo
doc: fix "Reconciles" typo
This commit is contained in:
commit
f31d1a4dbc
2 changed files with 4 additions and 4 deletions
|
|
@ -96,7 +96,7 @@ where
|
||||||
Vec::new()
|
Vec::new()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reconciliates the [`Widget`] with the provided [`Tree`].
|
/// Reconciles the [`Widget`] with the provided [`Tree`].
|
||||||
fn diff(&self, _tree: &mut Tree) {}
|
fn diff(&self, _tree: &mut Tree) {}
|
||||||
|
|
||||||
/// Applies an [`Operation`] to the [`Widget`].
|
/// Applies an [`Operation`] to the [`Widget`].
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ impl Tree {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reconciliates the current tree with the provided [`Widget`].
|
/// Reconciles the current tree with the provided [`Widget`].
|
||||||
///
|
///
|
||||||
/// If the tag of the [`Widget`] matches the tag of the [`Tree`], then the
|
/// If the tag of the [`Widget`] matches the tag of the [`Tree`], then the
|
||||||
/// [`Widget`] proceeds with the reconciliation (i.e. [`Widget::diff`] is called).
|
/// [`Widget`] proceeds with the reconciliation (i.e. [`Widget::diff`] is called).
|
||||||
|
|
@ -81,7 +81,7 @@ impl Tree {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reconciliates the children of the tree with the provided list of widgets using custom
|
/// Reconciles the children of the tree with the provided list of widgets using custom
|
||||||
/// logic both for diffing and creating new widget state.
|
/// logic both for diffing and creating new widget state.
|
||||||
pub fn diff_children_custom<T>(
|
pub fn diff_children_custom<T>(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
|
@ -107,7 +107,7 @@ impl Tree {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reconciliates the `current_children` with the provided list of widgets using
|
/// Reconciles the `current_children` with the provided list of widgets using
|
||||||
/// custom logic both for diffing and creating new widget state.
|
/// custom logic both for diffing and creating new widget state.
|
||||||
///
|
///
|
||||||
/// The algorithm will try to minimize the impact of diffing by querying the
|
/// The algorithm will try to minimize the impact of diffing by querying the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue