We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35b1a08 + dff2180 commit acdfb96Copy full SHA for acdfb96
1 file changed
src/lib.rs
@@ -88,6 +88,9 @@ macro_rules! metadata {
88
/// The Metadata struct can't implement `Default` because of orphan rules, which
89
/// means you need to provide all fields for initialisation.
90
///
91
+/// The macro should be called from within a function, for example as the first line of the
92
+/// `main()` function of the program.
93
+///
94
/// ```
95
/// use human_panic::setup_panic;
96
0 commit comments