Skip to content

Commit

Permalink
[fix lint warnings: Uniques pallet] fix clippy::doc_markdown warnings (
Browse files Browse the repository at this point in the history
…paritytech#14592)

* Fix clippy::doc_markdown warnings

* Remove accidental commit of script

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_uniques

* Some more backticks

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_uniques

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
Sacha Lansky and ggwpez authored Jul 24, 2023
1 parent 052aac1 commit 0a97adf
Show file tree
Hide file tree
Showing 2 changed files with 395 additions and 398 deletions.
6 changes: 3 additions & 3 deletions .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{header}}
//! Autogenerated weights for {{pallet}}
//! Autogenerated weights for `{{pallet}}`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}}
//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
Expand All @@ -20,7 +20,7 @@
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use core::marker::PhantomData;

/// Weight functions needed for {{pallet}}.
/// Weight functions needed for `{{pallet}}`.
pub trait WeightInfo {
{{#each benchmarks as |benchmark|}}
fn {{benchmark.name~}}
Expand All @@ -31,7 +31,7 @@ pub trait WeightInfo {
{{/each}}
}

/// Weights for {{pallet}} using the Substrate node and recommended hardware.
/// Weights for `{{pallet}}` using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
{{#if (eq pallet "frame_system")}}
impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
Expand Down
Loading

0 comments on commit 0a97adf

Please sign in to comment.