diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-06-06 23:26:24 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-06-06 23:26:24 +0200 |
| commit | be76c2aa51733a0cf495e92659fbcbe527f41149 (patch) | |
| tree | 617fb1caa999c076a45233b4bedea6a78192db25 /mumd/src/state/channel.rs | |
| parent | 7fc5a1a36404ee4cbc09d20c955e6edd3d2ac523 (diff) | |
| download | mum-be76c2aa51733a0cf495e92659fbcbe527f41149.tar.gz | |
cargo fmt
Diffstat (limited to 'mumd/src/state/channel.rs')
| -rw-r--r-- | mumd/src/state/channel.rs | 5 |
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 { |
