diff options
author | lharc <[email protected]> | 2014-07-01 16:06:05 +0200 |
---|---|---|
committer | lharc <[email protected]> | 2014-07-01 16:06:05 +0200 |
commit | 0401ae42cf3cda9640953c8c23cdb027f29372a6 (patch) | |
tree | 573918a8153c71925bd53908dec43d081e6b7cd8 | |
parent | 461dc05384eece7b4b7d84370fb0a2cf96ed2f6d (diff) | |
download | otp-0401ae42cf3cda9640953c8c23cdb027f29372a6.tar.gz otp-0401ae42cf3cda9640953c8c23cdb027f29372a6.tar.bz2 otp-0401ae42cf3cda9640953c8c23cdb027f29372a6.zip |
documentation: maps:values() returns list of keys
probably a copy&paste error from maps:keys()
-rw-r--r-- | lib/stdlib/src/maps.erl | 6 |
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). |