mirror of
https://github.com/YGGverse/htcount.git
synced 2026-03-31 09:05:41 +00:00
remove extra lines
This commit is contained in:
parent
8a21641176
commit
a22032180f
1 changed files with 1 additions and 4 deletions
|
|
@ -36,12 +36,9 @@ fn main() -> anyhow::Result<()> {
|
|||
debug::info("Index queue begin...");
|
||||
}
|
||||
|
||||
let file = File::open(&argument.source)?;
|
||||
let reader = BufReader::new(file);
|
||||
|
||||
let mut index: HashMap<String, usize> = HashMap::with_capacity(argument.capacity);
|
||||
|
||||
'l: for line in reader.lines() {
|
||||
'l: for line in BufReader::new(File::open(&argument.source)?).lines() {
|
||||
let l = line?;
|
||||
|
||||
if let Some(ref t) = match_time {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue