Skip to content

Commit

Permalink
Update to rustc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed May 4, 2020
1 parent 76ddac5 commit 7744cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/redundant_clone.rs
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 7744cf4

Please sign in to comment.