Implicit return
Co-Authored-By: phansch <dev@phansch.net>
This commit is contained in:
parent
12b2696634
commit
c83b0298d7
@ -214,7 +214,7 @@ fn is_foo_fn(fn_kind: FnKind<'_>) -> bool {
|
||||
FnKind::ItemFn(ident, ..) | FnKind::Method(ident, ..) => {
|
||||
return ident.name == "foo"
|
||||
},
|
||||
FnKind::Closure(..) => return false
|
||||
FnKind::Closure(..) => false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user