1
0
mirror of https://github.com/mgechev/revive.git synced 2025-07-05 00:28:53 +02:00

chore: fix typo (#1187)

This commit is contained in:
ccoVeille
2024-12-12 08:38:46 +01:00
committed by GitHub
parent 9b15f3fcb6
commit 4dd63ef035

View File

@ -56,7 +56,7 @@ type lintUnconditionalRecursionRule struct {
// We do search inside conditional control structures are statements that will take the control out of the function (return, exit, panic)
// If we find conditional control exits, it means the function is NOT unconditionally-recursive
// If we find a recursive call before finding any conditional exit, a failure is generated
// 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.
func (w lintUnconditionalRecursionRule) Visit(node ast.Node) ast.Visitor {
switch n := node.(type) {
case *ast.FuncDecl: