aboutsummaryrefslogtreecommitdiff
path: root/tools/src/main.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-30 14:25:10 +0100
committerAleksey Kladov <[email protected]>2018-07-30 14:25:10 +0100
commit67424000a9decccda44f4303d00d91a4fca985ba (patch)
tree6ab0ea9fb5ef78023f9a24390fc43e3f920bae79 /tools/src/main.rs
parent3b6a6f6673041cf9ee315c00f9b0e24e2c067091 (diff)
Fix compilation
Diffstat (limited to 'tools/src/main.rs')
-rw-r--r--tools/src/main.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/src/main.rs b/tools/src/main.rs
index 671f05388..783e3395b 100644
--- a/tools/src/main.rs
+++ b/tools/src/main.rs
@@ -96,13 +96,6 @@ fn gen_tests(verify: bool) -> Result<()> {
96 Ok(()) 96 Ok(())
97} 97}
98 98
99
100impl ::std::hash::Hash for Test {
101 fn hash<H: ::std::hash::Hasher>(&self, state: &mut H) {
102 self.name.hash(state)
103 }
104}
105
106fn tests_from_dir(dir: &Path) -> Result<HashSet<Test>> { 99fn tests_from_dir(dir: &Path) -> Result<HashSet<Test>> {
107 let mut res = HashSet::new(); 100 let mut res = HashSet::new();
108 for entry in ::walkdir::WalkDir::new(dir) { 101 for entry in ::walkdir::WalkDir::new(dir) {