typo fix
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ impl ChannelsState {
|
|||||||
|
|
||||||
let mut to_sort: Vec<(ChannelId, Option<ChannelId>, i32, String)> = Vec::new();
|
let mut to_sort: Vec<(ChannelId, Option<ChannelId>, i32, String)> = Vec::new();
|
||||||
for (id, state) in self.channels.iter() {
|
for (id, state) in self.channels.iter() {
|
||||||
// Hnadle channels with no parent (the root channel)
|
// Handle channels with no parent (the root channel)
|
||||||
let Some(parent_id) = state.parent else {
|
let Some(parent_id) = state.parent else {
|
||||||
to_sort.push((*id, None, 0, state.name.clone()));
|
to_sort.push((*id, None, 0, state.name.clone()));
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user