Skip to content

Commit f6dd362

Browse files
committed
doc: mapped_hmset doesn't accept empty hashes
Since we elected not to accept [#416][], update documentation to explicitly state that the supplied hash must not be empty. [ci skip] [#416]: #416
1 parent 7c4a954 commit f6dd362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ def hmset(key, *attrs)
18241824
# # => "OK"
18251825
#
18261826
# @param [String] key
1827-
# @param [Hash] hash fields mapping to values
1827+
# @param [Hash] a non-empty hash with fields mapping to values
18281828
# @return `"OK"`
18291829
#
18301830
# @see #hmset

0 commit comments

Comments
 (0)