From 1905c9ac463e9926996068f8a52eb394b03144de Mon Sep 17 00:00:00 2001 From: cloudclaim <824973921@qq.com> Date: Fri, 7 Jun 2024 16:28:29 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: cloudclaim <824973921@qq.com> --- dnscrypt-proxy/sources_test.go | 2 +- utils/generate-domains-blocklist/domains-blocklist.conf | 2 +- vendor/golang.org/x/tools/internal/imports/imports.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dnscrypt-proxy/sources_test.go b/dnscrypt-proxy/sources_test.go index 725b4bd1..69369da2 100644 --- a/dnscrypt-proxy/sources_test.go +++ b/dnscrypt-proxy/sources_test.go @@ -39,7 +39,7 @@ const ( TestStateReadSigErr // I/O error on reading .minisig (download only) TestStateOpenErr // I/O error on opening files TestStateOpenSigErr // I/O error on opening .minisig - TestStatePathErr // unparseable path to files (download only) + TestStatePathErr // unparsable path to files (download only) ) type SourceTestData struct { diff --git a/utils/generate-domains-blocklist/domains-blocklist.conf b/utils/generate-domains-blocklist/domains-blocklist.conf index b22071ac..6bbd2fb7 100644 --- a/utils/generate-domains-blocklist/domains-blocklist.conf +++ b/utils/generate-domains-blocklist/domains-blocklist.conf @@ -115,7 +115,7 @@ https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt # OISD.NL - Blocks ads, phishing, malware, tracking and more. WARNING: this is a huge list. # https://dblw.oisd.nl/ -# OISD.NL (smaller subset) - Blocks ads, phishing, malware, tracking and more. Tries to miminize false positives. +# OISD.NL (smaller subset) - Blocks ads, phishing, malware, tracking and more. Tries to minimize false positives. https://dblw.oisd.nl/basic/ # OISD.NL (extra) - Blocks ads, phishing, malware, tracking and more. Protection over functionality. diff --git a/vendor/golang.org/x/tools/internal/imports/imports.go b/vendor/golang.org/x/tools/internal/imports/imports.go index f8346552..e3e2be5e 100644 --- a/vendor/golang.org/x/tools/internal/imports/imports.go +++ b/vendor/golang.org/x/tools/internal/imports/imports.go @@ -84,7 +84,7 @@ func FixImports(ctx context.Context, filename string, src []byte, opt *Options) // env is needed. func ApplyFixes(fixes []*ImportFix, filename string, src []byte, opt *Options, extraMode parser.Mode) (formatted []byte, err error) { // Don't use parse() -- we don't care about fragments or statement lists - // here, and we need to work with unparseable files. + // here, and we need to work with unparsable files. fileSet := token.NewFileSet() parserMode := parser.Mode(0) if opt.Comments {