Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix "Reconciles" typo #2487

Merged
merged 1 commit into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
Expand Down
6 changes: 3 additions & 3 deletions core/src/widget/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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,
Expand All @@ -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
Expand Down
Loading