Permalink
Browse files

comment mistake fixed

  • Loading branch information...
1 parent 8995634 commit 5e75e681fe42c9986ddc4360a602669aaebb578e @codeeply codeeply committed with Dec 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sds.c
View
@@ -383,7 +383,7 @@ sds sdstrim(sds s, const char *cset) {
* Example:
*
* s = sdsnew("Hello World");
- * sdstrim(s,1,-1); => "ello Worl"
+ * sdsrange(s,1,-1); => "ello World"
*/
void sdsrange(sds s, int start, int end) {
struct sdshdr *sh = (void*) (s-(sizeof(struct sdshdr)));

0 comments on commit 5e75e68

Please sign in to comment.