summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vlad-Stefan Harbuz <vlad@vladh.net>2024-06-30 20:46:04 +0100
committerLibravatar Vlad-Stefan Harbuz <vlad@vladh.net>2024-06-30 20:46:04 +0100
commit10ef48c98af1c29e2fab5ea636915d311db339d5 (patch)
tree1ca10bbdae40e6b43d5f1d299f0a7829f6002f94
parent2ac80f8e9ccbcb8538ca6e613488c3b0eb9ef124 (diff)
downloadiced-10ef48c98af1c29e2fab5ea636915d311db339d5.tar.gz
iced-10ef48c98af1c29e2fab5ea636915d311db339d5.tar.bz2
iced-10ef48c98af1c29e2fab5ea636915d311db339d5.zip
doc: fix "Reconciles" typo
-rw-r--r--core/src/widget.rs2
-rw-r--r--core/src/widget/tree.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/widget.rs b/core/src/widget.rs
index 0d12deba..b17215bb 100644
--- a/core/src/widget.rs
+++ b/core/src/widget.rs
@@ -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`].
diff --git a/core/src/widget/tree.rs b/core/src/widget/tree.rs
index 6b1a1309..2600cfc6 100644
--- a/core/src/widget/tree.rs
+++ b/core/src/widget/tree.rs
@@ -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