We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4b7304 commit 51f20acCopy full SHA for 51f20ac
core/src/panicking.rs
@@ -2,7 +2,7 @@
2
//!
3
//! In core, panicking is always done with a message, resulting in a core::panic::PanicInfo
4
//! containing a fmt::Arguments. In std, however, panicking can be done with panic_any, which throws
5
-//! a Box<dyn Any> containing any type of value. Because of this, std::panic::PanicInfo is a
+//! a `Box<dyn Any>` containing any type of value. Because of this, std::panic::PanicInfo is a
6
//! different type, which contains a &dyn Any instead of a fmt::Arguments.
7
//! std's panic handler will convert the fmt::Arguments to a &dyn Any containing either a
8
//! &'static str or String containing the formatted message.
0 commit comments