diff --git a/README.md b/README.md index a383228..2cc7b2e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # contextcheck -`contextcheck` is a static analysis tool, it is used to check the function whether use a non-inherited context, which will result in a broken call link. +`contextcheck` is a static analysis tool, it is used to check whether the function uses a non-inherited context, which will result in a broken call link. For example: diff --git a/contextcheck.go b/contextcheck.go index e4a79b0..2ba7338 100644 --- a/contextcheck.go +++ b/contextcheck.go @@ -24,7 +24,7 @@ var pkgprefix string func NewAnalyzer(cfg Configuration) *analysis.Analyzer { analyzer := &analysis.Analyzer{ Name: "contextcheck", - Doc: "check the function whether use a non-inherited context", + Doc: "check whether the function uses a non-inherited context", Run: NewRun(nil, cfg.DisableFact), Requires: []*analysis.Analyzer{ buildssa.Analyzer,