fix typo in ContainsPkgCallExpr comment (#545)

This commit is contained in:
Ethan Buchman
2020-12-01 09:28:38 +01:00
committed by GitHub
parent 208b73eec4
commit 984c1d39a0
+1 -1
View File
@@ -70,7 +70,7 @@ func (c CallList) ContainsPointer(selector, indent string) bool {
}
// ContainsPkgCallExpr resolves the call expression name and type, and then further looks
// up the package path for that type. Finally, it determines if the call exists within the call list
// up the package path for that type. Finally, it determines if the call exists within the call list
func (c CallList) ContainsPkgCallExpr(n ast.Node, ctx *Context, stripVendor bool) *ast.CallExpr {
selector, ident, err := GetCallInfo(n, ctx)
if err != nil {