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 8bc4216 commit 77a1d65
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 @@ -41,12 +41,9 @@ struct Address(*mut std::ffi::c_void);
unsafe impl Send for Address {}
unsafe impl Sync for Address {}

/// A backtrace symbol. This is similar to [`backtrace::BacktraceSymbol`],
/// but is a separate struct to avoid public dependency issues.
/// A backtrace symbol.
///
/// 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 accessors for backtrace symbols, similar to [`backtrace::BacktraceSymbol`].
#[derive(Clone, Debug)]
pub struct BacktraceSymbol {
name: Option<Box<[u8]>>,
Expand Down

0 comments on commit 77a1d65

Please sign in to comment.