summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-05 14:25:22 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-07 09:52:06 -0500
commitecd469fad00611a947aecc6e1e914682d1eec65c (patch)
treeb708d1771e74d368332bf3cead2f057e779cdda3 /file.c
parent981a75db910cd5cfd5ee527a25bdd762918077e3 (diff)
downloadruby-ecd469fad00611a947aecc6e1e914682d1eec65c.tar.gz
[DOC] Fix links in documentation for File and IO
Fixes some typos and dead links.
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index aa8c422ea7..0d0b9d59db 100644
--- a/file.c
+++ b/file.c
@@ -6523,7 +6523,7 @@ const char ruby_null_device[] =
*
* Note that file permissions are quite different from the _mode_
* of a file stream (\File object).
- * See {IO Modes}[#class-IO-label-Modes].
+ * See {IO Modes}[rdoc-ref:IO@Modes].
*
* In a \File object, the permissions are available thus,
* where method +mode+, despite its name, returns permissions: