Fix use_self
violation
This commit is contained in:
parent
e2e892b59b
commit
3ba4c3a9b1
1 changed files with 2 additions and 2 deletions
|
@ -205,8 +205,8 @@ struct ReturnVisitor {
|
|||
}
|
||||
|
||||
impl ReturnVisitor {
|
||||
fn new() -> ReturnVisitor {
|
||||
ReturnVisitor {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
found_return: false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue