summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-06-30 22:56:44 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-30 22:56:44 +0200
commitf31d1a4dbca7e244c183ac6dd242b6d8306e09ef (patch)
tree1ca10bbdae40e6b43d5f1d299f0a7829f6002f94 /core
parent2ac80f8e9ccbcb8538ca6e613488c3b0eb9ef124 (diff)
parent10ef48c98af1c29e2fab5ea636915d311db339d5 (diff)
downloadiced-f31d1a4dbca7e244c183ac6dd242b6d8306e09ef.tar.gz
iced-f31d1a4dbca7e244c183ac6dd242b6d8306e09ef.tar.bz2
iced-f31d1a4dbca7e244c183ac6dd242b6d8306e09ef.zip
Merge pull request #2487 from vladh/fix-reconcile-typo
doc: fix "Reconciles" typo
Diffstat (limited to '')
-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