Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 36bb1f7

Browse files
committed
Derive Eq
1 parent 9247694 commit 36bb1f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agent/coverage/src/source.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ use crate::binary::BinaryCoverage;
1515

1616
pub use crate::binary::Count;
1717

18-
#[derive(Clone, Debug, Default)]
18+
#[derive(Clone, Debug, Default, Eq, PartialEq)]
1919
pub struct SourceCoverage {
2020
pub files: BTreeMap<FilePath, FileCoverage>,
2121
}
2222

23-
#[derive(Clone, Debug, Default)]
23+
#[derive(Clone, Debug, Default, Eq, PartialEq)]
2424
pub struct FileCoverage {
2525
pub lines: BTreeMap<Line, Count>,
2626
}

0 commit comments

Comments
 (0)