summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-09-29 21:00:10 +0530
committerGitHub <noreply@github.com>2022-09-29 21:00:10 +0530
commita8c37ceacee614171a59bf5ca969598b25089d44 (patch)
tree30bbe4349536ab64fd8afb4dc741e60baef6819f
parent7aaa84853d8991d895f53d27630a2a1c10bd9531 (diff)
parentcb01f11ad100db49d5b1995a6852623feaa29eae (diff)
Merge pull request #1900 from kianmeng/fix-typos
Fix typos
-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;
}