Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions sentry-core/src/performance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,8 @@ impl<'a> TransactionData<'a> {
/// Iterate over the [data attributes](protocol::TraceContext::data)
/// associated with this [transaction][protocol::Transaction].
///
/// If the transaction is not sampled for sending,
/// the metadata will not be populated at all,
/// so the produced iterator is empty.
/// If no client was bound when the transaction was started,
/// the produced iterator is empty.
pub fn iter(&self) -> Box<dyn Iterator<Item = (&String, &protocol::Value)> + '_> {
if self.0.transaction.is_some() {
Box::new(self.0.context.data.iter())
Expand Down
Loading