Skip to content

Commit 3c0fc84

Browse files
authored
fix typo (redis#1665)
1 parent f3e954f commit 3c0fc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topics/modules-api-ref.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ the string, and later call StringDMA() again to get the pointer.
13481348

13491349
int RedisModule_StringTruncate(RedisModuleKey *key, size_t newlen);
13501350

1351-
If the string is open for writing and is of string type, resize it, padding
1351+
If the key is open for writing and is of string type, resize it, padding
13521352
with zero bytes if the new length is greater than the old one.
13531353

13541354
After this call, [`RedisModule_StringDMA()`](#RedisModule_StringDMA) must be called again to continue

0 commit comments

Comments
 (0)