Skip to content

Commit 4dd63ef

Browse files
authoredDec 12, 2024
chore: fix typo (#1187)
1 parent 9b15f3f commit 4dd63ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎rule/unconditional_recursion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type lintUnconditionalRecursionRule struct {
5656
// We do search inside conditional control structures are statements that will take the control out of the function (return, exit, panic)
5757
// If we find conditional control exits, it means the function is NOT unconditionally-recursive
5858
// 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.
59+
// In resume: if we found a recursive call control-dependent from the entry point of the function then we raise a failure.
6060
func (w lintUnconditionalRecursionRule) Visit(node ast.Node) ast.Visitor {
6161
switch n := node.(type) {
6262
case *ast.FuncDecl:

0 commit comments

Comments
 (0)
Please sign in to comment.