Skip to content

Commit f120ad0

Browse files
leopsSwatinem
andauthored
Apply suggestions from code review
Co-authored-by: Arpad Borsos <[email protected]>
1 parent 40107d5 commit f120ad0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sentry-tracing/src/layer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ impl<S> SentryLayer<S> {
219219
self
220220
}
221221

222-
/// Sets a custom span on_close hook.
222+
/// Sets a custom span `on_close` hook.
223223
///
224-
/// The hook is called with [`Timings`] informations when a [`tracing::Span`]
224+
/// The hook is called with [`Timings`] information when a [`tracing::Span`]
225225
/// is closed, and can mutate the associated [`protocol::Span`] accordingly.
226226
pub fn span_on_close<F>(mut self, on_close: F) -> Self
227227
where

sentry-tracing/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! as breadcrumbs for later. Secondly, error events can be captured as events
66
//! to Sentry. Finally, spans can be recorded as structured transaction events.
77
//! By default, events above `Info` are recorded as breadcrumbs, events above
8-
//! `Error` are captured as error events, and spans above `Info` and recorded
8+
//! `Error` are captured as error events, and spans above `Info` are recorded
99
//! as transactions.
1010
//!
1111
//! By using this crate in combination with `tracing-subscriber` and its `log`

0 commit comments

Comments
 (0)