mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 16:48:12 +08:00
Upgrade to the Rust 2024 edition (#2367)
* Update to rust 2024 edition * Fixes * Clean up imports * Cargo fmt again --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
927d7dd9b2
commit
beb1c6ae64
@@ -303,11 +303,7 @@ impl Dispatcher {
|
||||
fn create_indents(queues: &[VecDeque<Message>]) -> String {
|
||||
String::from_iter(queues.iter().enumerate().skip(1).map(|(index, queue)| {
|
||||
if index == queues.len() - 1 {
|
||||
if queue.is_empty() {
|
||||
"└── "
|
||||
} else {
|
||||
"├── "
|
||||
}
|
||||
if queue.is_empty() { "└── " } else { "├── " }
|
||||
} else if queue.is_empty() {
|
||||
" "
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user