summaryrefslogtreecommitdiffstats
path: root/src/extra.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 13:40:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 13:40:32 +0000
commite961d207b801c7d503f809ccd407dfea3a9a3d71 (patch)
tree41e2f0eb1c4853360b6c62fd49a38e01ea9b30c6 /src/extra.rs
parentAdding upstream version 1.0.81. (diff)
downloadrust-proc-macro2-upstream.tar.xz
rust-proc-macro2-upstream.zip
Adding upstream version 1.0.85.upstream/1.0.85upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/extra.rs')
-rw-r--r--src/extra.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extra.rs b/src/extra.rs
index 543ec1d..522a90e 100644
--- a/src/extra.rs
+++ b/src/extra.rs
@@ -69,7 +69,7 @@ use core::fmt::{self, Debug};
/// This function is not applicable to and will panic if called from a
/// procedural macro.
#[cfg(span_locations)]
-#[cfg_attr(doc_cfg, doc(cfg(feature = "span-locations")))]
+#[cfg_attr(docsrs, doc(cfg(feature = "span-locations")))]
pub fn invalidate_current_thread_spans() {
crate::imp::invalidate_current_thread_spans();
}