summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-09-26 18:00:34 +0200
committerGitHub <[email protected]>2024-09-27 01:00:34 +0900
commit1172d65926236e866ff1eb330e510ac2113ddc17 (patch)
tree707ed1d401b5ac536feaa9e897ce7e72e01715de
parent9a966a09cb553991b33a642a5583c821ac99dcc5 (diff)
[DOC] Improve description of `LoadError#path` and `SyntaxError#path`
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11684 Merged-By: nobu <[email protected]>
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index acd92c893d..5256521acd 100644
--- a/error.c
+++ b/error.c
@@ -3507,11 +3507,11 @@ Init_Exception(void)
* and will render `idPath` as an attribute name without this trick */
ID path = idPath;
- /* the path failed to parse */
+ /* the path that failed to parse */
rb_attr(rb_eSyntaxError, path, TRUE, FALSE, FALSE);
rb_eLoadError = rb_define_class("LoadError", rb_eScriptError);
- /* the path failed to load */
+ /* the path that failed to load */
rb_attr(rb_eLoadError, path, TRUE, FALSE, FALSE);
rb_eNotImpError = rb_define_class("NotImplementedError", rb_eScriptError);