From 6b2d7c47072a466b938fac75db416c9adbf59892 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Mon, 2 Oct 2023 14:58:31 +0200 Subject: [PATCH] Fix invalid markdown/html. --- library/core/src/panicking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/panicking.rs b/library/core/src/panicking.rs index a6e55280946..0793c1b0f29 100644 --- a/library/core/src/panicking.rs +++ b/library/core/src/panicking.rs @@ -2,7 +2,7 @@ //! //! In core, panicking is always done with a message, resulting in a core::panic::PanicInfo //! containing a fmt::Arguments. In std, however, panicking can be done with panic_any, which throws -//! a Box containing any type of value. Because of this, std::panic::PanicInfo is a +//! a `Box` containing any type of value. Because of this, std::panic::PanicInfo is a //! different type, which contains a &dyn Any instead of a fmt::Arguments. //! std's panic handler will convert the fmt::Arguments to a &dyn Any containing either a //! &'static str or String containing the formatted message.