aboutsummaryrefslogtreecommitdiffstats
path: root/mumd
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-10-17 20:55:41 +0200
committerEskil Queseth <eskilq@kth.se>2020-10-17 20:55:41 +0200
commit9cfdbf0c68e544dbaa67da7e5620f4099d1c718e (patch)
treed2b9c7da7ddf3523c661062a0620192a2c05e097 /mumd
parent7d18be093e0952470591fd130417ad13c941318e (diff)
downloadmum-9cfdbf0c68e544dbaa67da7e5620f4099d1c718e.tar.gz
add comment
Diffstat (limited to 'mumd')
-rw-r--r--mumd/src/state.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs
index e7b0233..94a0293 100644
--- a/mumd/src/state.rs
+++ b/mumd/src/state.rs
@@ -437,6 +437,7 @@ pub fn into_channel(
}
}
+ //root node is ignored because of how walk_and_add is implemented on ProtoTree
let mut proto_tree = ProtoTree {
channel: Some(channels.get(&0).unwrap()),
children: HashMap::new(),