From e1d6f491a5089b17bf66c10b26360a1a59d75cab Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 12 Mar 2026 17:51:09 +0000 Subject: internal/postgres: clean up duplicated comments in upsertSymbolSearchDocuments Change-Id: I463a3a7eaf00119c931743e6841b08339760dea3 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/754800 kokoro-CI: kokoro LUCI-TryBot-Result: Go LUCI Auto-Submit: Ethan Lee Reviewed-by: Hyang-Ah Hana Kim --- internal/postgres/symbolsearch.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/postgres/symbolsearch.go b/internal/postgres/symbolsearch.go index 599c3662..7b36b7e4 100644 --- a/internal/postgres/symbolsearch.go +++ b/internal/postgres/symbolsearch.go @@ -27,10 +27,6 @@ func upsertSymbolSearchDocuments(ctx context.Context, tx *database.DB, defer stats.Elapsed(ctx, "upsertSymbolSearchDocuments")() defer internal.RequestState(ctx, "updating symbol_search_documents")() - // If a user is looking for the symbol "DB.Begin", from package - // database/sql, we want them to be able to find this by searching for - // "DB.Begin" and "sql.DB.Begin". Searching for "sql.DB", "DB", "Begin" or - // "sql.DB" will not return "DB.Begin". // If a user is looking for the symbol "DB.Begin", from package // database/sql, we want them to be able to find this by searching for // "DB.Begin", "Begin", and "sql.DB.Begin". Searching for "sql.DB" or -- cgit v1.3