From f527a0911d5ff0476152a3e3c9bcd2247ead5636 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 1 Jan 2023 14:33:06 +0900 Subject: [PATCH] [DOC] [Bug #19290] fix formatting --- ext/objspace/objspace.c | 2 +- signal.c | 6 +++--- warning.rb | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index ca08604c95..31099b8849 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -954,7 +954,7 @@ void Init_objspace_dump(VALUE rb_mObjSpace); * * You need to require 'objspace' to use this extension module. * - * Generally, you *SHOULD NOT* use this library if you do not know + * Generally, you *SHOULD* *NOT* use this library if you do not know * about the MRI implementation. Mainly, this library is for (memory) * profiler developers and MRI developers who need to know about MRI * memory usage. diff --git a/signal.c b/signal.c index 04db34fc3d..544854e014 100644 --- a/signal.c +++ b/signal.c @@ -1383,7 +1383,7 @@ reserved_signal_p(int signo) * Signal.trap("CLD") { puts "Child died" } * fork && Process.wait * - * produces: + * produces: * Terminating: 27461 * Child died * Terminating: 27460 @@ -1535,10 +1535,10 @@ int ruby_enable_coredump = 0; * # ... * Process.kill("TERM", pid) * - * produces: + * produces: * Debug now: true * Debug now: false - * Terminating... + * Terminating... * * The list of available signal names and their interpretation is * system dependent. Signal delivery semantics may also vary between diff --git a/warning.rb b/warning.rb index 0012ffb1d6..4e34c63833 100644 --- a/warning.rb +++ b/warning.rb @@ -15,7 +15,7 @@ module Kernel # # warn("warning 1", "warning 2") # - # produces: + # produces: # # warning 1 # warning 2 @@ -35,7 +35,7 @@ module Kernel # # bar # - # produces: + # produces: # # baz.rb:6: warning: invalid call to foo #