From da9cd33e3fcb428c589abb24a8590e3b42756f00 Mon Sep 17 00:00:00 2001 From: Adam Leskis Date: Mon, 26 Sep 2022 14:39:47 +0100 Subject: [PATCH] fix simple typo --- README.md | 2 +- contextcheck.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,