From 86cc98ac45d2fe735c5103cb89040db0e159e1f5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 15:40:32 +0200 Subject: Merging upstream version 1.0.85. Signed-off-by: Daniel Baumann --- src/location.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/location.rs') diff --git a/src/location.rs b/src/location.rs index 463026c..7190e2d 100644 --- a/src/location.rs +++ b/src/location.rs @@ -3,7 +3,7 @@ use core::cmp::Ordering; /// A line-column pair representing the start or end of a `Span`. /// /// This type is semver exempt and not exposed by default. -#[cfg_attr(doc_cfg, doc(cfg(feature = "span-locations")))] +#[cfg_attr(docsrs, doc(cfg(feature = "span-locations")))] #[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] pub struct LineColumn { /// The 1-indexed line in the source file on which the span starts or ends -- cgit v1.2.3