From 383f0def7846ddd0263cfae36f4cd498041dfe94 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 27 Sep 2024 18:03:54 +0200 Subject: [PATCH 1/2] Rename `standalone` doctest attribute into `standalone-crate` --- core/src/panic/location.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/panic/location.rs b/core/src/panic/location.rs index e2a842046a96d..97408a4ac180e 100644 --- a/core/src/panic/location.rs +++ b/core/src/panic/location.rs @@ -44,7 +44,7 @@ impl<'a> Location<'a> { /// /// # Examples /// - /// ```standalone + /// ```standalone-crate /// use std::panic::Location; /// /// /// Returns the [`Location`] at which it is called. From faa018ecfa86b21c309c631962fdb5507757feec Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 28 Sep 2024 22:37:59 +0200 Subject: [PATCH 2/2] Rename doctest attribute `standalone-crate` into `standalone_crate` for coherency --- core/src/panic/location.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/panic/location.rs b/core/src/panic/location.rs index 97408a4ac180e..1ad5c07d15cd0 100644 --- a/core/src/panic/location.rs +++ b/core/src/panic/location.rs @@ -44,7 +44,7 @@ impl<'a> Location<'a> { /// /// # Examples /// - /// ```standalone-crate + /// ```standalone_crate /// use std::panic::Location; /// /// /// Returns the [`Location`] at which it is called.