From 381774034dec1efb4fe1ab3134c48be5de5c6303 Mon Sep 17 00:00:00 2001 From: Joe Taber Date: Fri, 24 Feb 2023 17:25:59 -0600 Subject: [PATCH] Fix typo in README NewMap -> NewSet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 177d37d..4a7f0c5 100644 --- a/README.md +++ b/README.md @@ -291,7 +291,7 @@ wrapper around a `Map[T, struct{}]`. Like Maps, Sets require a `Hasher` to hash keys and check for equality. There are built-in hasher implementations for most primitive types such as `int`, `uint`, and -`string` keys. You may pass in a `nil` hasher to `NewMap()` if you are using +`string` keys. You may pass in a `nil` hasher to `NewSet()` if you are using one of these key types.