From 1cc5739b1d4491bc59881461f7b9e96b6cc5935e Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Tue, 1 Jun 2021 08:13:01 -0600 Subject: Fix MapBuilder docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5292549..7553f76 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,7 @@ to use the `MapBuilder`. It uses nearly the same API as `Map` except that it updates a map in-place until you are ready to use it. ```go -b := immutable.NewMapBuilder(immutable.NewMap(nil)) +b := immutable.NewMapBuilder(nil) b.Set("foo", 100) b.Set("bar", 200) b.Set("foo", 300) -- cgit v1.2.3