Skip to content

Commit c71af75

Browse files
committed
fix issue huangzworks#5 ,感谢 @studentdeng 的提醒。
1 parent a57f3d2 commit c71af75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void sdsfree(sds s) {
117117
/*
118118
* 更新给定 sds 所对应的 sdshdr 结构的 free 和 len 属性
119119
*
120-
* T = O(1)
120+
* T = O(n)
121121
*/
122122
void sdsupdatelen(sds s) {
123123

0 commit comments

Comments
 (0)