tidy fixes
This commit is contained in:
parent
0c7fc046d3
commit
fdb2f7f97c
1 changed files with 2 additions and 2 deletions
|
|
@ -53,9 +53,9 @@ impl<'tcx> Visitor<'tcx> for FindLocalAssignmentVisitor {
|
|||
}
|
||||
|
||||
crate trait FindAssignments {
|
||||
fn find_assignments(&self, local: Local) -> Vec<Location>;
|
||||
fn find_assignments(&self, local: Local) -> Vec<Location>;
|
||||
}
|
||||
|
||||
|
||||
impl<'tcx> FindAssignments for Mir<'tcx>{
|
||||
fn find_assignments(&self, local: Local) -> Vec<Location>{
|
||||
let mut visitor = FindLocalAssignmentVisitor{ needle: local, locations: vec![]};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue