Skip to content

Commit

Permalink
Update clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse committed May 3, 2020
1 parent 1e701e5 commit 21c72b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/clippy/clippy_lints/src/redundant_clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ struct PossibleBorrowerMap<'a, 'tcx> {
impl PossibleBorrowerMap<'_, '_> {
/// Returns true if the set of borrowers of `borrowed` living at `at` matches with `borrowers`.
fn only_borrowers(&mut self, borrowers: &[mir::Local], borrowed: mir::Local, at: mir::Location) -> bool {
self.maybe_live.seek_after(at);
self.maybe_live.seek_after_primary_effect(at);

self.bitset.0.clear();
let maybe_live = &mut self.maybe_live;
Expand Down

0 comments on commit 21c72b6

Please sign in to comment.