Skip to content

Commit

Permalink
restrict visibility for internal actions list, removed managed slice …
Browse files Browse the repository at this point in the history
…for explanation string
  • Loading branch information
cczetier committed Jan 9, 2025
1 parent 992d54a commit de201eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/target/ext/tracepoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub struct DefineTracepoint<'a, U> {
/// The PC address of the tracepoint that is being defined.
pub addr: U,
/// A list of actions that should be appended to the tracepoint.
pub actions: TracepointActionList<'a, U>,
pub(crate) actions: TracepointActionList<'a, U>,
}

/// An item from a stream of tracepoint descriptions. Enumerating tracepoints
Expand Down Expand Up @@ -161,7 +161,7 @@ pub enum ExperimentExplanation<'a> {
Disconn(bool),

/// Report a raw string as a trace status explanation.
Other(managed::Managed<'a, str>),
Other(&'a str),
}

/// Shape of the trace buffer
Expand Down

0 comments on commit de201eb

Please sign in to comment.