From bb2d24731e72ebb029396f1fa17201da0bce3901 Mon Sep 17 00:00:00 2001 From: Nikolay Ponomarev Date: Sun, 15 Sep 2024 23:07:17 +0300 Subject: [DOC] Fix autoload method formatting --- load.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'load.c') diff --git a/load.c b/load.c index 2c6a94b842..c6fb43e9e8 100644 --- a/load.c +++ b/load.c @@ -1451,9 +1451,9 @@ ruby_init_ext(const char *name, void (*init)(void)) * A.autoload(:B, "b") * A::B.doit # autoloads "b" * - * If _const_ in _mod_ is defined as autoload, the file name to be - * loaded is replaced with _filename_. If _const_ is defined but not - * as autoload, does nothing. + * If _const_ in _mod_ is defined as autoload, the file name to be + * loaded is replaced with _filename_. If _const_ is defined but not + * as autoload, does nothing. */ static VALUE @@ -1515,9 +1515,9 @@ rb_mod_autoload_p(int argc, VALUE *argv, VALUE mod) * * autoload(:MyModule, "/usr/local/lib/modules/my_module.rb") * - * If _const_ is defined as autoload, the file name to be loaded is - * replaced with _filename_. If _const_ is defined but not as - * autoload, does nothing. + * If _const_ is defined as autoload, the file name to be loaded is + * replaced with _filename_. If _const_ is defined but not as + * autoload, does nothing. */ static VALUE -- cgit v1.2.3