commit f002afcde0f158a05a1eb75d85aa8489a350aea1
parent 0c8f32c80a76880b9947cf9b88e2f97f083b07c4
Author: alex wennerberg <alex@alexwennerberg.com>
Date: Sun, 12 Dec 2021 15:13:29 -0800
fix duplicate root
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crabmail/src/main.rs b/crabmail/src/main.rs
@@ -119,7 +119,7 @@ fn main() -> Result<()> {
let thread_dir = &out_dir.join("threads");
std::fs::create_dir(thread_dir).ok();
for root in thread_roots.iter() {
- let mut thread_ids = vec![root.id.clone()];
+ let mut thread_ids = vec![];
let mut current: Vec<String> = vec![root.id.clone()];
while current.len() > 0 {
let top = current.pop().unwrap().clone();