summaryrefslogtreecommitdiff
path: root/runtime/fmt_errors.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-04-30 11:11:37 +0200
committerGitHub <noreply@github.com>2023-04-30 09:11:37 +0000
commit59825a95b4d3952c955b8b43e174189999e35d15 (patch)
treeb3ff4c24f5596cc70daac40b578805a61d565c2a /runtime/fmt_errors.rs
parentbb1f5e4262940a966e6314f57a4267514911d262 (diff)
refactor: remove ext/console/01_colors.js (#18927)
Diffstat (limited to 'runtime/fmt_errors.rs')
-rw-r--r--runtime/fmt_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/fmt_errors.rs b/runtime/fmt_errors.rs
index 6852cbcd1..5dcb96ec7 100644
--- a/runtime/fmt_errors.rs
+++ b/runtime/fmt_errors.rs
@@ -12,7 +12,7 @@ use std::fmt::Write as _;
/// Compares all properties of JsError, except for JsError::cause.
/// This function is used to detect that 2 JsError objects in a JsError::cause
/// chain are identical, ie. there is a recursive cause.
-/// 02_console.js, which also detects recursive causes, can use JS object
+/// 01_console.js, which also detects recursive causes, can use JS object
/// comparisons to compare errors. We don't have access to JS object identity in
/// format_js_error().
fn errors_are_equal_without_cause(a: &JsError, b: &JsError) -> bool {