diff --git a/tokio-console/src/view/task.rs b/tokio-console/src/view/task.rs index 9713eecbb..8f3024520 100644 --- a/tokio-console/src/view/task.rs +++ b/tokio-console/src/view/task.rs @@ -142,7 +142,7 @@ impl TaskView { let mut overview = Vec::with_capacity(8); overview.push(Spans::from(vec![ bold("ID: "), - Span::raw(format!("{} ", task.id())), + Span::raw(format!("{} ", task.id_str())), task.state().render(styles), ]));