fix most typos, add crate-ci/typos to CI (#2653)

* fix most typos, add crate-ci/typos to CI

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Tristan F.andJonathan Kelley authored and GitHub committed 2024-07-23 17:49:33 -07:00
1 parent 841b447d2a
commit 9167cd9dec
83 files changed
+258 -203

No files matched your search

+4 -4
View File
@@ -62,7 +62,7 @@ fn component_swap() {
let mut dom = VirtualDom::new(app);
{
let edits = dom.rebuild_to_vec().santize();
let edits = dom.rebuild_to_vec().sanitize();
assert_eq!(
edits.edits,
[
@@ -79,7 +79,7 @@ fn component_swap() {
dom.mark_dirty(ScopeId::APP);
assert_eq!(
dom.render_immediate_to_vec().santize().edits,
dom.render_immediate_to_vec().sanitize().edits,
[
LoadTemplate { name: "template", index: 0, id: ElementId(6) },
ReplaceWith { id: ElementId(5), m: 1 }
@@ -88,7 +88,7 @@ fn component_swap() {
dom.mark_dirty(ScopeId::APP);
assert_eq!(
dom.render_immediate_to_vec().santize().edits,
dom.render_immediate_to_vec().sanitize().edits,
[
LoadTemplate { name: "template", index: 0, id: ElementId(5) },
ReplaceWith { id: ElementId(6), m: 1 }
@@ -97,7 +97,7 @@ fn component_swap() {
dom.mark_dirty(ScopeId::APP);
assert_eq!(
dom.render_immediate_to_vec().santize().edits,
dom.render_immediate_to_vec().sanitize().edits,
[
LoadTemplate { name: "template", index: 0, id: ElementId(6) },
ReplaceWith { id: ElementId(5), m: 1 }