about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-06-14 22:55:44 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-08-13 20:14:55 +0200
commit475824d8110ffd67065609b0e00e28ad220d62b2 (patch)
treee1019a1bb24afef0f809f24ffd639755472fd050
parent995858eed36f649d91c04e8095370877e64a0560 (diff)
downloadrust-475824d8110ffd67065609b0e00e28ad220d62b2.tar.gz
rust-475824d8110ffd67065609b0e00e28ad220d62b2.zip
Mark location doctest as standalone since file information will not work in merged doctest file
-rw-r--r--library/core/src/panic/location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/panic/location.rs b/library/core/src/panic/location.rs
index 8c04994ac0f..930edffd505 100644
--- a/library/core/src/panic/location.rs
+++ b/library/core/src/panic/location.rs
@@ -44,7 +44,7 @@ impl<'a> Location<'a> {
     ///
     /// # Examples
     ///
-    /// ```
+    /// ```standalone
     /// use std::panic::Location;
     ///
     /// /// Returns the [`Location`] at which it is called.