Add lifetime comment
This commit is contained in:
parent
9fda734c7b
commit
31902a9df3
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ impl State {
|
|||
let rewrite_author = commit.author().email().unwrap() == &self.args.rewrite_email;
|
||||
|
||||
let parent_ids: Vec<_> = commit.parent_ids().collect();
|
||||
// This is to deal with lifetime weirdness.
|
||||
drop(commit);
|
||||
|
||||
let mut new_parent_ids = Vec::new();
|
||||
|
|
Loading…
Reference in a new issue