fix typo in 'setTypeRandomElement' (#10662)
`the redis object pointer was populated.` -> `the sds pointer was populated.` We don't populate the redis object pointer in this function.
This commit is contained in:
parent
02080f2686
commit
1666ffbe1f
@ -203,7 +203,7 @@ sds setTypeNextObject(setTypeIterator *si) {
|
||||
* The caller provides both pointers to be populated with the right
|
||||
* object. The return value of the function is the object->encoding
|
||||
* field of the object and is used by the caller to check if the
|
||||
* int64_t pointer or the redis object pointer was populated.
|
||||
* int64_t pointer or the sds pointer was populated.
|
||||
*
|
||||
* Note that both the sdsele and llele pointers should be passed and cannot
|
||||
* be NULL since the function will try to defensively populate the non
|
||||
|
Loading…
x
Reference in New Issue
Block a user