comment mistake fixed
This commit is contained in:
parent
c590549e40
commit
0f06f8df07
@ -383,7 +383,7 @@ sds sdstrim(sds s, const char *cset) {
|
|||||||
* Example:
|
* Example:
|
||||||
*
|
*
|
||||||
* s = sdsnew("Hello World");
|
* s = sdsnew("Hello World");
|
||||||
* sdstrim(s,1,-1); => "ello Worl"
|
* sdsrange(s,1,-1); => "ello World"
|
||||||
*/
|
*/
|
||||||
void sdsrange(sds s, int start, int end) {
|
void sdsrange(sds s, int start, int end) {
|
||||||
struct sdshdr *sh = (void*) (s-(sizeof(struct sdshdr)));
|
struct sdshdr *sh = (void*) (s-(sizeof(struct sdshdr)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user