aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-19 23:34:50 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-19 23:36:04 +0100
commit0ad2e70d12143179fafcfba924c390fc45527ba9 (patch)
tree99434ef9a23ea6f5c48ad64697f8ff697667bc15 /src
parent9c28892114175ddeb19d2684079f326ce36600de (diff)
downloadsds-0ad2e70d12143179fafcfba924c390fc45527ba9.tar.xz
sdsIncrLen: Remove note about negative increment
This usage was broken by the earlier change to a size_t for the incr argument
Diffstat (limited to 'src')
-rw-r--r--src/sds.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sds.c b/src/sds.c
index cee0b85..841a6ae 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -696,9 +696,6 @@ size_t sdsAllocSize(sds s) {
* user calls sdsMakeRoomFor(), writes something after the end of
* the current string, and finally needs to set the new length.
*
- * Note: it is possible to use a negative increment in order to
- * right-trim the string.
- *
* Usage example:
*
* Using sdsIncrLen() and sdsMakeRoomFor() it is possible to mount the