summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorBurdette Lamar <[email protected]>2024-02-14 09:47:42 -0600
committerGitHub <[email protected]>2024-02-14 10:47:42 -0500
commit65f54355406a25f352241406967d038fc72d4737 (patch)
tree36662f5337ba27cbfd6bb75e364cf3f81eaaf842 /hash.c
parentf1136e73e853b60f8cfe463aba50a6771a7eac11 (diff)
[DOC] Doc compliance (#9955)
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index 569f2479b4..c8fe54eff9 100644
--- a/hash.c
+++ b/hash.c
@@ -6682,7 +6682,7 @@ static const rb_data_type_t env_data_type = {
* # Raises SyntaxError (syntax error, unexpected ':', expecting =>):
* h = {0: 'zero'}
*
- * Hash value can be omitted, meaning that value will be fetched from the context
+ * +Hash+ value can be omitted, meaning that value will be fetched from the context
* by the name of the key:
*
* x = 0
@@ -6733,7 +6733,7 @@ static const rb_data_type_t env_data_type = {
*
* You can create a +Hash+ by calling method Hash.new.
*
- * Create an empty Hash:
+ * Create an empty +Hash+:
*
* h = Hash.new
* h # => {}
@@ -6741,7 +6741,7 @@ static const rb_data_type_t env_data_type = {
*
* You can create a +Hash+ by calling method Hash.[].
*
- * Create an empty Hash:
+ * Create an empty +Hash+:
*
* h = Hash[]
* h # => {}