cleanup <weight></weight> from docs comments (#13350)

* cleanup <weight></weight> from docs comments

* Changes to address review commnets

* Fix CI cargo test --docs

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Vivek Pandyaandparity-processbot authored and GitHub committed 2023-02-14 14:09:36 +00:00
1 parent 56b90e199d
commit 35e8e137c5
22 files changed
+202 -635

No files matched your search

-8
View File
@@ -363,10 +363,6 @@ pub mod pallet {
}
/// Anonymously schedule a task after a delay.
///
/// # <weight>
/// Same as [`schedule`].
/// # </weight>
#[pallet::call_index(4)]
#[pallet::weight(<T as Config>::WeightInfo::schedule(T::MaxScheduledPerBlock::get()))]
pub fn schedule_after(
@@ -389,10 +385,6 @@ pub mod pallet {
}
/// Schedule a named task after a delay.
///
/// # <weight>
/// Same as [`schedule_named`](Self::schedule_named).
/// # </weight>
#[pallet::call_index(5)]
#[pallet::weight(<T as Config>::WeightInfo::schedule_named(T::MaxScheduledPerBlock::get()))]
pub fn schedule_named_after(