diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2021-06-01 08:13:01 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2021-06-01 08:13:01 -0600 |
commit | 1cc5739b1d4491bc59881461f7b9e96b6cc5935e (patch) | |
tree | 4f0cd093d2777d07383149227e8e6bf1856bbb38 /README.md | |
parent | Merge pull request #16 from benbjohnson/refactor-builders (diff) | |
download | pds-1cc5739b1d4491bc59881461f7b9e96b6cc5935e.tar.gz pds-1cc5739b1d4491bc59881461f7b9e96b6cc5935e.tar.xz |
Fix MapBuilder docs
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |