aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-05-14 15:55:41 +0200
committerDaniel <kingdread@gmx.de>2020-05-14 15:55:41 +0200
commit61889e2d289a6d0d83d55afc9b1c98e6dd112249 (patch)
treef1773453c23a1dfc21823f36fd8246eebe8ec680 /src/main.rs
parenta5e326bdd9b8c751653047bc28e34ded3e340431 (diff)
downloadraidgrep-61889e2d289a6d0d83d55afc9b1c98e6dd112249.tar.gz
raidgrep-61889e2d289a6d0d83d55afc9b1c98e6dd112249.tar.bz2
raidgrep-61889e2d289a6d0d83d55afc9b1c98e6dd112249.zip
add a small test for sorting with Sorting
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cb914d3..43a6f59 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -107,7 +107,7 @@ pub struct Opt {
}
/// A log that matches the search criteria.
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct LogResult {
/// The path to the log file.
log_file: PathBuf,