doc: fix "Reconciles" typo

This commit is contained in:
Vlad-Stefan Harbuz 2024-06-30 20:46:04 +01:00
parent 2ac80f8e9c
commit 10ef48c98a
2 changed files with 4 additions and 4 deletions

View file

@ -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`].

View file

@ -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