docs: fix grammar and typos in comments and documentation (#5254)

* docs: fix grammar and typos in comments and documentation

* docs: use British English style for e.g. and i.e. (no trailing comma)
Changed from American English style (e.g.,) to British English style (e.g.)
for consistency with the rest of the codebase."
This commit is contained in:
Antti Jalomäki authored and GitHub committed 2026-01-23 13:30:00 -08:00
1 parent 409d8358b6
commit 4070d0c8bd
19 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ impl ServerFunction {
response.headers_mut().extend(headers);
}
// it it accepts text/html (i.e., is a plain form post) and doesn't already have a
// if it accepts text/html (i.e., is a plain form post) and doesn't already have a
// Location set, then redirect to Referer
if accepts_html {
if let Some(referrer) = referrer {