Skip to content

Commit 0154fa4

Browse files
committed
chore: fix docs link
1 parent d684c2e commit 0154fa4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/layer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,10 +711,9 @@ where
711711
}
712712
}
713713

714-
/// Sets whether or not an event considered for exception mapping (see [`OpenTelemetryLayer::with_error_recording`])
714+
/// Sets whether or not an event considered for exception mapping (see [`OpenTelemetryLayer::with_error_records_to_exceptions`])
715715
/// should be propagated to the span status error description.
716716
///
717-
///
718717
/// By default, these events do set the span status error description.
719718
pub fn with_error_events_to_status(self, error_events_to_status: bool) -> Self {
720719
Self {

0 commit comments

Comments
 (0)