Add typo detection to CI (#4107)

Adding the typos crate to our CI will take some doing, as we have
several tests which rely on typos in various ways (e.g. checking state
as the user types), but I thought I'd take a first stab at fixing what
it finds.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-01-17 17:13:47 -08:00 committed by GitHub
commit aa7351041d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
64 changed files with 146 additions and 114 deletions

View file

@ -65,7 +65,7 @@ impl Render for TextStory {
))
)
.usage(indoc! {r##"
// NOTE: When rendering text in a horizonal flex container,
// NOTE: When rendering text in a horizontal flex container,
// Taffy will not pass width constraints down from the parent.
// To fix this, render text in a parent with overflow: hidden
@ -149,7 +149,7 @@ impl Render for TextStory {
// "Meanwhile, the lazy dog decided it was time for a change. ",
// "He started daily workout routines, ate healthier and became the fastest dog in town.",
// ))))
// // NOTE: When rendering text in a horizonal flex container,
// // NOTE: When rendering text in a horizontal flex container,
// // Taffy will not pass width constraints down from the parent.
// // To fix this, render text in a parent with overflow: hidden
// .child(div().h_5())