File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,14 +69,14 @@ pub struct Metadata {
6969/// Initialize [`Metadata`]
7070#[ macro_export]
7171macro_rules! metadata {
72- ( ) => {
72+ ( ) => { {
7373 $crate:: Metadata {
7474 version: env!( "CARGO_PKG_VERSION" ) . into( ) ,
7575 name: env!( "CARGO_PKG_NAME" ) . into( ) ,
7676 authors: env!( "CARGO_PKG_AUTHORS" ) . replace( ":" , ", " ) . into( ) ,
7777 homepage: env!( "CARGO_PKG_HOMEPAGE" ) . into( ) ,
7878 }
79- } ;
79+ } } ;
8080}
8181
8282/// `human-panic` initialisation macro
@@ -103,7 +103,7 @@ macro_rules! metadata {
103103/// ```
104104#[ macro_export]
105105macro_rules! setup_panic {
106- ( $meta: expr) => {
106+ ( $meta: expr) => { {
107107 #[ allow( unused_imports) ]
108108 use std:: panic:: { self , PanicInfo } ;
109109 #[ allow( unused_imports) ]
@@ -121,7 +121,7 @@ macro_rules! setup_panic {
121121 } ) ) ;
122122 }
123123 }
124- } ;
124+ } } ;
125125
126126 ( ) => {
127127 $crate:: setup_panic!( $crate:: metadata!( ) ) ;
You can’t perform that action at this time.
0 commit comments