Add lifetime comment

This commit is contained in:
puck 2024-05-02 18:26:26 +00:00
parent 9fda734c7b
commit 31902a9df3

View file

@ -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();