Skip to content

Commit

Permalink
tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurikholkar committed Mar 10, 2018
1 parent 0c7fc04 commit fdb2f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_mir/util/collect_writes.rs
Expand Up @@ -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![]};
Expand Down

0 comments on commit fdb2f7f

Please sign in to comment.