We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b15f3f commit 4dd63efCopy full SHA for 4dd63ef
rule/unconditional_recursion.go
@@ -56,7 +56,7 @@ type lintUnconditionalRecursionRule struct {
56
// We do search inside conditional control structures are statements that will take the control out of the function (return, exit, panic)
57
// If we find conditional control exits, it means the function is NOT unconditionally-recursive
58
// If we find a recursive call before finding any conditional exit, a failure is generated
59
-// In resume: if we found a recursive call control-dependant from the entry point of the function then we raise a failure.
+// In resume: if we found a recursive call control-dependent from the entry point of the function then we raise a failure.
60
func (w lintUnconditionalRecursionRule) Visit(node ast.Node) ast.Visitor {
61
switch n := node.(type) {
62
case *ast.FuncDecl:
0 commit comments