aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/state/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/state/channel.rs')
-rw-r--r--mumd/src/state/channel.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/mumd/src/state/channel.rs b/mumd/src/state/channel.rs
index f58ed15..6995e1e 100644
--- a/mumd/src/state/channel.rs
+++ b/mumd/src/state/channel.rs
@@ -157,10 +157,7 @@ pub fn into_channel(
let mut proto_tree = ProtoTree {
channel: Some(channels.get(&0).unwrap()),
children: HashMap::new(),
- users: channel_lookup
- .get(&0)
- .cloned()
- .unwrap_or_default(),
+ users: channel_lookup.get(&0).cloned().unwrap_or_default(),
};
for (walk, channel) in walks {