Fix use_self
violation
This commit is contained in:
parent
e2e892b59b
commit
3ba4c3a9b1
@ -205,8 +205,8 @@ struct ReturnVisitor {
|
||||
}
|
||||
|
||||
impl ReturnVisitor {
|
||||
fn new() -> ReturnVisitor {
|
||||
ReturnVisitor {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
found_return: false,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user