summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFiisio <[email protected]>2017-09-07 22:21:33 +0800
committerdigitalcraftsman <[email protected]>2017-09-07 16:21:33 +0200
commit573deca089485dd4230520ef4279c89b8a363cb2 (patch)
treed1034b5b4dd5b066d24ee148c05a781f3f4dfc62
parenteeb057f2225f7b8060669223770f2bdac61e5a85 (diff)
downloadhugo-573deca089485dd4230520ef4279c89b8a363cb2.tar.gz
hugo-573deca089485dd4230520ef4279c89b8a363cb2.zip
hugolib: Fix typo in aquired
Signed-off-by: wgliang <[email protected]>
-rw-r--r--hugolib/pages_related.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/pages_related.go b/hugolib/pages_related.go
index 858ad0d11..03abf0a58 100644
--- a/hugolib/pages_related.go
+++ b/hugolib/pages_related.go
@@ -151,7 +151,7 @@ func newSearchIndexHandler(cfg related.Config) *relatedDocsHandler {
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 {
for _, ci := range s.postingLists {
if fastEqualPages(p, ci.p) {