summaryrefslogtreecommitdiffstats
path: root/melib/src/mailbox/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'melib/src/mailbox/thread.rs')
-rw-r--r--melib/src/mailbox/thread.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/melib/src/mailbox/thread.rs b/melib/src/mailbox/thread.rs
index 2a91b53c..c9a1c55c 100644
--- a/melib/src/mailbox/thread.rs
+++ b/melib/src/mailbox/thread.rs
@@ -1339,7 +1339,9 @@ fn node_build(
let mut has_unseen = if let Some(msg) = thread_nodes[idx].message {
!collection[&msg].is_seen()
- } else { false };
+ } else {
+ false
+ };
let mut child_vec: Vec<ThreadTree> = Vec::new();
thread_nodes[idx].len = thread_nodes[idx].children.len();