From 30a5192ee301ec8c70db5b593a9fbd05b8b2a9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Cla=C3=9Fen?= Date: Sun, 11 Aug 2024 09:04:03 +0200 Subject: [PATCH] Fixed typos in the "compare_by_identity?" comments --- src/hash.cr | 2 +- src/set.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hash.cr b/src/hash.cr index e14b92ee482e..e2fe7dad186c 100644 --- a/src/hash.cr +++ b/src/hash.cr @@ -1055,7 +1055,7 @@ class Hash(K, V) self end - # Returns `true` of this Hash is comparing keys by `object_id`. + # Returns `true` if this Hash is comparing keys by `object_id`. # # See `compare_by_identity`. getter? compare_by_identity : Bool diff --git a/src/set.cr b/src/set.cr index c998fab949a1..1bcc5178fbb0 100644 --- a/src/set.cr +++ b/src/set.cr @@ -73,7 +73,7 @@ struct Set(T) self end - # Returns `true` of this Set is comparing objects by `object_id`. + # Returns `true` if this Set is comparing objects by `object_id`. # # See `compare_by_identity`. def compare_by_identity? : Bool