Merge pull request #2487 from vladh/fix-reconcile-typo

doc: fix "Reconciles" typo
This commit is contained in:
Héctor Ramón 2024-06-30 22:56:44 +02:00 committed by GitHub
commit f31d1a4dbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ where
Vec::new()
}
/// Reconciliates the [`Widget`] with the provided [`Tree`].
/// Reconciles the [`Widget`] with the provided [`Tree`].
fn diff(&self, _tree: &mut Tree) {}
/// 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
/// [`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.
pub fn diff_children_custom<T>(
&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.
///
/// The algorithm will try to minimize the impact of diffing by querying the