aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordcy <[email protected]>2014-11-04 17:20:51 +0800
committerdcy <[email protected]>2014-11-04 17:20:51 +0800
commitd94783860fd4e41373746de059b78403c8bd1a59 (patch)
tree7dcdbe75c104c93e004e5e08464d4b67bfaf3af2 /lib
parent4e969748e47566c974ce526ade50c34ab62e3b26 (diff)
downloadotp-d94783860fd4e41373746de059b78403c8bd1a59.tar.gz
otp-d94783860fd4e41373746de059b78403c8bd1a59.tar.bz2
otp-d94783860fd4e41373746de059b78403c8bd1a59.zip
fix doc for maps:with/2
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/doc/src/maps.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/maps.xml b/lib/stdlib/doc/src/maps.xml
index 64229fa8d3..f766c843be 100644
--- a/lib/stdlib/doc/src/maps.xml
+++ b/lib/stdlib/doc/src/maps.xml
@@ -330,7 +330,7 @@ false</code>
<code type="none">
> Map = #{42 => value_three,1337 => "value two","a" => 1},
Ks = ["a",42,"other key"],
- maps:without(Ks,Map).
+ maps:with(Ks,Map).
#{42 => value_three,"a" => 1}</code>
</desc>
</func>