aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-01-01 14:33:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-01-01 14:50:39 +0900
commitf527a0911d5ff0476152a3e3c9bcd2247ead5636 (patch)
tree1b0ebe01a96a590893df3fb1828207983463fb55
parent0bb07e5ba40cdc45d55743dd1ebaadd7e7363e7f (diff)
downloadruby-f527a0911d5ff0476152a3e3c9bcd2247ead5636.tar.gz
[DOC] [Bug #19290] fix formatting
-rw-r--r--ext/objspace/objspace.c2
-rw-r--r--signal.c6
-rw-r--r--warning.rb4
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 <code>require 'objspace'</code> 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:
+ * <em>produces:</em>
* Terminating: 27461
* Child died
* Terminating: 27460
@@ -1535,10 +1535,10 @@ int ruby_enable_coredump = 0;
* # ...
* Process.kill("TERM", pid)
*
- * produces:
+ * <em>produces:</em>
* 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")
#
- # <em>produces:</em>
+ # <em>produces:</em>
#
# warning 1
# warning 2
@@ -35,7 +35,7 @@ module Kernel
#
# bar
#
- # <em>produces:</em>
+ # <em>produces:</em>
#
# baz.rb:6: warning: invalid call to foo
#