mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-22 11:03:25 +03:00
clippy fix
This commit is contained in:
parent
0a5e2ef1ed
commit
134ef734a4
@ -102,8 +102,7 @@ impl<'a> LogWalker<'a> {
|
||||
|
||||
//
|
||||
fn visit(&mut self, c: Commit<'a>) {
|
||||
if !self.visited.contains(&c.id()) {
|
||||
self.visited.insert(c.id());
|
||||
if self.visited.insert(c.id()) {
|
||||
self.commits.push(TimeOrderedCommit(c));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user