mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-21 06:21:01 +00:00
Use path instead of ident (#7809)
This commit is contained in:
@@ -1072,7 +1072,7 @@ macro_rules! impl_benchmark_test {
|
|||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! add_benchmark {
|
macro_rules! add_benchmark {
|
||||||
( $params:ident, $batches:ident, $name:ident, $( $location:tt )* ) => (
|
( $params:ident, $batches:ident, $name:path, $( $location:tt )* ) => (
|
||||||
let name_string = stringify!($name).as_bytes();
|
let name_string = stringify!($name).as_bytes();
|
||||||
let instance_string = stringify!( $( $location )* ).as_bytes();
|
let instance_string = stringify!( $( $location )* ).as_bytes();
|
||||||
let (config, whitelist) = $params;
|
let (config, whitelist) = $params;
|
||||||
|
|||||||
Reference in New Issue
Block a user