mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 15:04:41 -04:00
hugolib: Fix typo in aquired
Signed-off-by: wgliang <liangcszzu@163.com>
This commit is contained in:
parent
eeb057f222
commit
573deca089
@ -151,7 +151,7 @@ func newSearchIndexHandler(cfg related.Config) *relatedDocsHandler {
|
|||||||
return &relatedDocsHandler{cfg: cfg}
|
return &relatedDocsHandler{cfg: cfg}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This assumes that a lock has been aquired.
|
// This assumes that a lock has been acquired.
|
||||||
func (s *relatedDocsHandler) getIndex(p Pages) *related.InvertedIndex {
|
func (s *relatedDocsHandler) getIndex(p Pages) *related.InvertedIndex {
|
||||||
for _, ci := range s.postingLists {
|
for _, ci := range s.postingLists {
|
||||||
if fastEqualPages(p, ci.p) {
|
if fastEqualPages(p, ci.p) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user