Skip to content

Commit

Permalink
Update tokio/src/runtime/dump.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Motoyuki Kimura <[email protected]>
  • Loading branch information
arielb1 and mox692 authored Dec 5, 2024
1 parent 4fe39d9 commit 797e080
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tokio/src/runtime/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,9 @@ impl BacktraceFrame {
}
}

/// A backtrace. This is similar to [`backtrace::Backtrace`],
/// but is a separate struct to avoid public dependency issues.
/// A captured backtrace.
///
/// This struct is guaranteed to be pure data and operations involving
/// it will not call platform functions that take an unpredictable amount
/// of time to finish.
/// This struct provides access to each backtrace frame, similar to [`backtrace::Backtrace`].
#[derive(Clone, Debug)]
pub struct Backtrace {
frames: Box<[BacktraceFrame]>,
Expand Down

0 comments on commit 797e080

Please sign in to comment.