File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ macro_rules! assert_markdown_deps_updated {
100
100
let pkg_name = env!( "CARGO_PKG_NAME" ) ;
101
101
let pkg_version = env!( "CARGO_PKG_VERSION" ) ;
102
102
if let Err ( err) = $crate:: check_markdown_deps( $path, pkg_name, pkg_version) {
103
- panic!( err) ;
103
+ panic!( "{}" , err) ;
104
104
}
105
105
} ;
106
106
}
@@ -152,7 +152,7 @@ macro_rules! assert_html_root_url_updated {
152
152
let pkg_name = env!( "CARGO_PKG_NAME" ) ;
153
153
let pkg_version = env!( "CARGO_PKG_VERSION" ) ;
154
154
if let Err ( err) = $crate:: check_html_root_url( $path, pkg_name, pkg_version) {
155
- panic!( err) ;
155
+ panic!( "{}" , err) ;
156
156
}
157
157
} ;
158
158
}
@@ -215,7 +215,7 @@ macro_rules! assert_contains_regex {
215
215
let pkg_name = env!( "CARGO_PKG_NAME" ) ;
216
216
let pkg_version = env!( "CARGO_PKG_VERSION" ) ;
217
217
if let Err ( err) = $crate:: check_contains_regex( $path, $format, pkg_name, pkg_version) {
218
- panic!( err) ;
218
+ panic!( "{}" , err) ;
219
219
}
220
220
} ;
221
221
}
You can’t perform that action at this time.
0 commit comments