Closed
Description
If a parameter of a function is only used in a recursive call of this functions body, it is probably unintended and useless:
fn rec_fn(a: i32) {
//some conditions, no a...
rec_fn(a)
}
See also #2622 (comment)
If a parameter of a function is only used in a recursive call of this functions body, it is probably unintended and useless:
fn rec_fn(a: i32) {
//some conditions, no a...
rec_fn(a)
}
See also #2622 (comment)