diff --git a/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs b/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs index d337ac49..4c8221d8 100644 --- a/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs +++ b/bizinikiwi/pezframe/election-provider-support/solution-type/src/lib.rs @@ -62,7 +62,11 @@ pub(crate) fn syn_err(message: &'static str) -> syn::Error { /// For example, the following generates a public struct with name `TestSolution` with `u16` voter /// type, `u8` target type and `Perbill` accuracy with maximum of 4 edges per voter. /// -/// ``` +/// +/// ```ignore /// # use pezframe_election_provider_solution_type::generate_solution_type; /// # use pezsp_arithmetic::per_things::Perbill; /// # use pezframe_support::traits::ConstU32; @@ -107,7 +111,11 @@ pub(crate) fn syn_err(message: &'static str) -> syn::Error { /// lead to many `0`s in the solution. If prefixed with `#[compact]`, then a custom compact encoding /// for numbers will be used, similar to how `parity-scale-codec`'s `Compact` works. /// -/// ``` +/// +/// ```ignore /// # use pezframe_election_provider_solution_type::generate_solution_type; /// # use pezframe_election_provider_support::NposSolution; /// # use pezsp_arithmetic::per_things::Perbill; diff --git a/bizinikiwi/pezframe/src/lib.rs b/bizinikiwi/pezframe/src/lib.rs index d7dae84f..e82ea93a 100644 --- a/bizinikiwi/pezframe/src/lib.rs +++ b/bizinikiwi/pezframe/src/lib.rs @@ -46,12 +46,14 @@ //! //! ### Example Usage //! -//! ``` -//! use pezkuwi_sdk_frame as frame; +//! +//! ```ignore +//! use pezframe as frame; //! //! #[pezframe::pezpallet] //! pub mod pezpallet { -//! # use pezkuwi_sdk_frame as frame; //! use pezframe::prelude::*; //! // ^^ using the prelude! //! @@ -64,18 +66,15 @@ //! //! #[cfg(test)] //! pub mod tests { -//! # use pezkuwi_sdk_frame as frame; //! use pezframe::testing_prelude::*; //! } //! //! #[cfg(feature = "runtime-benchmarks")] //! pub mod benchmarking { -//! # use pezkuwi_sdk_frame as frame; //! use pezframe::benchmarking::prelude::*; //! } //! //! pub mod runtime { -//! # use pezkuwi_sdk_frame as frame; //! use pezframe::runtime::prelude::*; //! } //! ``` diff --git a/bizinikiwi/pezframe/support/Cargo.toml b/bizinikiwi/pezframe/support/Cargo.toml index e42be27c..dd47a534 100644 --- a/bizinikiwi/pezframe/support/Cargo.toml +++ b/bizinikiwi/pezframe/support/Cargo.toml @@ -57,6 +57,7 @@ aquamarine = { workspace = true } Inflector = { workspace = true } pezframe-system = { workspace = true, default-features = true } pezsp-crypto-hashing = { workspace = true, default-features = true } +pezsp-timestamp = { workspace = true, default-features = true } pretty_assertions = { workspace = true } [features] diff --git a/bizinikiwi/pezframe/support/procedural/src/lib.rs b/bizinikiwi/pezframe/support/procedural/src/lib.rs index 1f29f765..c07250a2 100644 --- a/bizinikiwi/pezframe/support/procedural/src/lib.rs +++ b/bizinikiwi/pezframe/support/procedural/src/lib.rs @@ -1385,7 +1385,11 @@ pub fn dynamic_aggregated_params_internal(attrs: TokenStream, input: TokenStream /// /// ## Example/Overview: /// -/// ``` +/// +/// ```ignore /// # #[allow(unused)] /// #[pezframe_support::pezpallet] /// pub mod pezpallet { diff --git a/vendor/pezkuwi-subxt/subxt/src/lib.rs b/vendor/pezkuwi-subxt/subxt/src/lib.rs index 4ffe88e3..8be2a001 100644 --- a/vendor/pezkuwi-subxt/subxt/src/lib.rs +++ b/vendor/pezkuwi-subxt/subxt/src/lib.rs @@ -268,7 +268,15 @@ pub mod ext { /// If the type you're substituting contains generic parameters, you can "pattern match" on /// those, and make use of them in the substituted type, like so: /// -/// ```rust,no_run,standalone_crate +/// +/// ```ignore /// #[pezkuwi_subxt::subxt( /// runtime_metadata_path = "../artifacts/pezkuwi_metadata_full.scale", /// substitute_type(