From 672dd61d43cff23bc416cefdb6eabd01d24df5b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ml=C3=A1dek?= Date: Tue, 30 Sep 2025 16:29:56 +0200 Subject: [PATCH 1/2] chore: delete removed docs.rs feature --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c667e26..a5c2fcc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -102,7 +102,7 @@ #![cfg_attr( docsrs, // Allows displaying cfgs/feature flags in the documentation. - feature(doc_cfg, doc_auto_cfg), + feature(doc_cfg), // Allows adding traits to RustDoc's list of "notable traits" feature(doc_notable_trait), // Fail the docs build if any intra-docs links are broken From ee0e79c81f308d61b9761d195248b711c03d22c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ml=C3=A1dek?= Date: Tue, 30 Sep 2025 16:37:07 +0200 Subject: [PATCH 2/2] chore: fix docs link --- src/layer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/layer.rs b/src/layer.rs index e133cc8..c1f8add 100644 --- a/src/layer.rs +++ b/src/layer.rs @@ -711,10 +711,9 @@ where } } - /// Sets whether or not an event considered for exception mapping (see [`OpenTelemetryLayer::with_error_recording`]) + /// Sets whether or not an event considered for exception mapping (see [`OpenTelemetryLayer::with_error_records_to_exceptions`]) /// should be propagated to the span status error description. /// - /// /// By default, these events do set the span status error description. pub fn with_error_events_to_status(self, error_events_to_status: bool) -> Self { Self {