summaryrefslogtreecommitdiff
path: root/src/syntax/source.rs
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2023-03-22 16:02:51 +0800
committerGitHub <noreply@github.com>2023-03-22 09:02:51 +0100
commit25acefeb5b0cf0977ad01fe3128d494d9617a2cf (patch)
tree5f629b2aee909022be2be674a60d10fe59bc77c3 /src/syntax/source.rs
parent26f4321a5e9eb56b905ca9eee9cf52422c7ff859 (diff)
Fix typos (#115)
Found via `codespell -S target -L crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
Diffstat (limited to 'src/syntax/source.rs')
-rw-r--r--src/syntax/source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/source.rs b/src/syntax/source.rs
index 53cc6de9..e8553b1e 100644
--- a/src/syntax/source.rs
+++ b/src/syntax/source.rs
@@ -425,7 +425,7 @@ mod tests {
assert_eq!(source.lines, result.lines);
}
- // Test inserting at the begining.
+ // Test inserting at the beginning.
test("abc\n", 0..0, "hi\n", "hi\nabc\n");
test("\nabc", 0..0, "hi\r", "hi\r\nabc");