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

+2 -2
View File
@@ -663,7 +663,7 @@ impl TraceController {
}
}
// If we have "safe" error, we we need to log it
// If we have "safe" error, we need to log it
if let Ok(Err(err)) = &res {
self.record_backtrace(
err,
@@ -1081,7 +1081,7 @@ where
};
// If the event has the captured panic attached, we record it through capture_backtrace directly.
// Otherwise, we wont have a backtrace to work with, so we just log the event as a telemetry event.
// Otherwise, we won't have a backtrace to work with, so we just log the event as a telemetry event.
if let Some(error) = visitor.captured_panic {
self.record_backtrace(
error.error.as_ref(),