File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ categories = ["asynchronous", "development-tools::debugging"]
14
14
async-backtrace-attributes = { version = " 0.2" , path = " ../attributes" }
15
15
dashmap = " 5.4.0"
16
16
futures = " 0.3.21"
17
- itertools = " 0.10.5"
18
17
once_cell = " 1.0.0"
19
18
pin-project-lite = " 0.2"
20
19
rustc-hash = " 1.1.0"
Original file line number Diff line number Diff line change @@ -168,10 +168,10 @@ macro_rules! frame {
168
168
/// If `wait_for_running_tasks` is `true`, this routine may deadlock if any
169
169
/// non-async lock is held which may also be held by a Framed task.
170
170
pub fn taskdump_tree ( wait_for_running_tasks : bool ) -> String {
171
- itertools :: join (
172
- tasks ( ) . map ( |task| task. pretty_tree ( wait_for_running_tasks) ) ,
173
- " \n " ,
174
- )
171
+ tasks ( )
172
+ . map ( |task| task. pretty_tree ( wait_for_running_tasks) )
173
+ . collect :: < Vec < String > > ( )
174
+ . join ( " \n " )
175
175
}
176
176
177
177
/// Produces a backtrace starting at the currently-active frame (if any).
You can’t perform that action at this time.
0 commit comments