aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Yinhe <[email protected]>2014-07-11 16:58:04 +0200
committerBruce Yinhe <[email protected]>2014-07-11 16:58:04 +0200
commit0e1fc856dec43f9fe825678c0547182d599046c7 (patch)
treef432c342f8109e363ac6e6d57b0e14d9856e8007
parent36475fd498d1d88040967c37c6632623c0ac3e9b (diff)
parent0401ae42cf3cda9640953c8c23cdb027f29372a6 (diff)
downloadotp-0e1fc856dec43f9fe825678c0547182d599046c7.tar.gz
otp-0e1fc856dec43f9fe825678c0547182d599046c7.tar.bz2
otp-0e1fc856dec43f9fe825678c0547182d599046c7.zip
Merge branch 'lharc/patch-1' into maint
OPT-12055 * lharc/patch-1: documentation: maps:values() returns list of keys
-rw-r--r--lib/stdlib/src/maps.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/maps.erl b/lib/stdlib/src/maps.erl
index 4ef1638e6d..3f019aa35a 100644
--- a/lib/stdlib/src/maps.erl
+++ b/lib/stdlib/src/maps.erl
@@ -133,10 +133,10 @@ to_list(_) -> erlang:nif_error(undef).
update(_,_,_) -> erlang:nif_error(undef).
--spec values(Map) -> Keys when
+-spec values(Map) -> Values when
Map :: map(),
- Keys :: [Key],
- Key :: term().
+ Values :: [Value],
+ Value :: term().
values(_) -> erlang:nif_error(undef).