aboutsummaryrefslogtreecommitdiff
path: root/src/index.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-07-07 00:31:45 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-07-07 00:31:45 +0200
commitafe9dab09237f614ead06ef2c879a671e341616b (patch)
tree9dca59d3b663767900a28bfe434cd24d5bf3d4f1 /src/index.rs
parent179920fa402b81a3ae8cc3c4b415172f71eb8d11 (diff)
remove dead code
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/index.rs b/src/index.rs
index 9f0af1d..d90f403 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -1,4 +1,3 @@
-use std::fmt::{Formatter, Debug, Result};
use std::fs::File;
use std::io::{Write, BufReader, BufRead};
use walkdir::*;
@@ -79,14 +78,14 @@ impl Index {
});
- match nof_handle {
- Some(t) => {
- nof = t.join().unwrap();
- nof_handle = None;
- }
- None => {
- callback(counter, nof);
- }
+ }
+ match nof_handle {
+ Some(t) => {
+ nof = t.join().unwrap();
+ nof_handle = None;
+ }
+ None => {
+ callback(counter, nof);
}
}
}