aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2021-06-01 08:13:01 -0600
committerBen Johnson <benbjohnson@yahoo.com>2021-06-01 08:13:01 -0600
commit1cc5739b1d4491bc59881461f7b9e96b6cc5935e (patch)
tree4f0cd093d2777d07383149227e8e6bf1856bbb38 /README.md
parentMerge pull request #16 from benbjohnson/refactor-builders (diff)
downloadpds-1cc5739b1d4491bc59881461f7b9e96b6cc5935e.tar.gz
pds-1cc5739b1d4491bc59881461f7b9e96b6cc5935e.tar.xz
Fix MapBuilder docs
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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)