Browse Source

:art: Clean code

Daniel 8 months ago
parent
commit
f9a696aa14
1 changed files with 0 additions and 1 deletions
  1. 0 1
      kernel/model/search.go

+ 0 - 1
kernel/model/search.go

@@ -1430,7 +1430,6 @@ func fullTextSearchByFTSWithRoot(query, boxFilter, pathFilter, typeFilter, ignor
 		for j, block := range blocks {
 			if resultBlock.ID == block.ID {
 				resultBlocks[i] = block
-				// 减少 blocks
 				blocks = append(blocks[:j], blocks[j+1:]...)
 				break
 			}