Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
review: remove blank lines
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Jan 19, 2022
commit 93fe32518d6635ec4252adf348f63a51eb417e26
5 changes: 0 additions & 5 deletions frame/benchmarking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,6 @@ pub fn show_benchmark_debug_info(
/// type Council2 = TechnicalCommittee;
/// add_benchmark!(params, batches, pallet_collective, Council2); // pallet_collective_council_2.rs
/// ```

#[macro_export]
macro_rules! add_benchmark {
( $params:ident, $batches:ident, $name:path, $( $location:tt )* ) => (
Expand Down Expand Up @@ -1803,7 +1802,6 @@ macro_rules! cb_add_benchmarks {
/// ```
///
/// This should match what exists with the `add_benchmark!` macro.

#[macro_export]
macro_rules! list_benchmark {
( $list:ident, $extra:ident, $name:path, $( $location:tt )* ) => (
Expand All @@ -1820,7 +1818,6 @@ macro_rules! list_benchmark {
}

/// Callback for `define_benchmarks` to call `list_benchmark`.

#[macro_export]
macro_rules! cb_list_benchmarks {
// anchor
Expand Down Expand Up @@ -1848,7 +1845,6 @@ macro_rules! define_benchmarks {
/// ```ignore
/// list_benchmarks!(list, extra);
/// ```

#[macro_export]
macro_rules! list_benchmarks {
( $list:ident, $extra:ident ) => {
Expand All @@ -1863,7 +1859,6 @@ macro_rules! define_benchmarks {
/// ```ignore
/// add_benchmarks!(params, batches);
/// ```

#[macro_export]
macro_rules! add_benchmarks {
( $params:ident, $batches:ident ) => {
Expand Down