summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-09-29 22:41:12 +0800
committerKian-Meng Ang <kianmeng@cpan.org>2022-09-29 22:41:12 +0800
commitcb01f11ad100db49d5b1995a6852623feaa29eae (patch)
tree30bbe4349536ab64fd8afb4dc741e60baef6819f
parent7aaa84853d8991d895f53d27630a2a1c10bd9531 (diff)
Fix typos
Found via `codespell -S ./src/theme -L crate,nam,varius,phasis`
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--src/book/summary.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 72010ad2..23f90c7a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -116,7 +116,7 @@ If possible, do your best to avoid breaking older browser releases.
Any change to the HTML or styling is encouraged to manually check on as many browsers and platforms that you can.
Unfortunately at this time we don't have any automated UI or browser testing, so your assistance in testing is appreciated.
-## Updating higlight.js
+## Updating highlight.js
The following are instructions for updating [highlight.js](https://highlightjs.org/).
diff --git a/src/book/summary.rs b/src/book/summary.rs
index 02f67c6f..b2784ce5 100644
--- a/src/book/summary.rs
+++ b/src/book/summary.rs
@@ -454,7 +454,7 @@ impl<'a> SummaryParser<'a> {
items.push(item);
}
Some(Event::Start(Tag::List(..))) => {
- // Skip this tag after comment bacause it is not nested.
+ // Skip this tag after comment because it is not nested.
if items.is_empty() {
continue;
}