History

thanks clippy

Sebastian Thiel committed 5 years ago

Commit ba9b3c21 parent 61816e56 files · +14 −19Browse files

Showing the changes to git-commitgraph/src/file/commit.rs (1 of 6 files). Show all

Unified · Split

git-commitgraph/src/file/commit.rs+1−1
@@ -123,7 +123,7 @@ impl<'a> Eq for Commit<'a> {} · 122 unmodified lines
123 123
124impl<'a> PartialEq for Commit<'a> {124impl<'a> PartialEq for Commit<'a> {
125 fn eq(&self, other: &Self) -> bool {125 fn eq(&self, other: &Self) -> bool {
126 self.file as *const File == other.file as *const File && self.pos == other.pos126 std::ptr::eq(self.file, other.file) && self.pos == other.pos
127 }127 }
128}128}
129 129