Skip to content

Commit 5819448

Browse files
fix : remove _{ } syntax from benchmark macro (#7822)
* commented use of common * hack to pass tests * another hack * remove all commented code * fix the easy tests * temp hack * follow through comma hack until better solution * patch macro * missed one * update benchmarks * update docs * fix docs * removed too much * fix changes Co-authored-by: Shawn Tabrizi <[email protected]>
1 parent d14bcae commit 5819448

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

benchmarking/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ fn check_events<T: Config, I: Iterator<Item = <T as SystemConfig>::Event>>(expec
203203
}
204204

205205
benchmarks! {
206-
_ { }
207-
208206
report_offence_im_online {
209207
let r in 1 .. MAX_REPORTERS;
210208
// we skip 1 offender, because in such case there is no slashing

0 commit comments

Comments
 (0)