Skip to content

feat(api/nonfungibles): destroy collection witness data & weights #1794

feat(api/nonfungibles): destroy collection witness data & weights

feat(api/nonfungibles): destroy collection witness data & weights #1794

Triggered via pull request November 16, 2024 10:47
@chungquantinchungquantin
synchronize #383
Status Success
Total duration 9s
Artifacts

lint-pr.yml

on: pull_request_target
Validate PR title for conventional commit compliance
3s
Validate PR title for conventional commit compliance
Fit to window
Zoom out
Zoom in

Annotations

1000 warnings
large size difference between variants: node/src/cli.rs#L5
warning: large size difference between variants --> node/src/cli.rs:5:1 | 5 | / pub enum Subcommand { 6 | | /// Build a chain specification. 7 | | BuildSpec(sc_cli::BuildSpecCmd), ... | 19 | | ImportBlocks(sc_cli::ImportBlocksCmd), | | ------------------------------------- the second-largest variant contains at least 240 bytes ... | 39 | | Benchmark(frame_benchmarking_cli::BenchmarkCmd), | | ----------------------------------------------- the largest variant contains at least 544 bytes ... | 43 | | Key(sc_cli::KeySubcommand), 44 | | } | |_^ the entire enum is at least 544 bytes | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant = note: `#[warn(clippy::large_enum_variant)]` on by default help: consider boxing the large fields to reduce the total size of the enum | 39 | Benchmark(Box<frame_benchmarking_cli::BenchmarkCmd>), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
field `backend` is never read: node/src/rpc.rs#L34
warning: field `backend` is never read --> node/src/rpc.rs:34:6 | 26 | pub struct FullDeps<C, P, B> { | -------- field in this struct ... 34 | pub backend: Arc<B>, | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default
missing documentation for a struct: runtime/devnet/src/config/xcm.rs#L128
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:128:1 | 128 | pub struct XcmConfig; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/devnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias --> runtime/devnet/src/config/xcm.rs:126:1 | 126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>); | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/devnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias --> runtime/devnet/src/config/xcm.rs:101:1 | 101 | pub type Barrier = TrailingSetTopicAsId<( | ^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/devnet/src/config/xcm.rs#L94
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:94:1 | 94 | pub struct ParentOrParentsExecutivePlurality; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/devnet/src/config/assets.rs#L111
warning: missing documentation for a type alias --> runtime/devnet/src/config/assets.rs:111:1 | 111 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:84:1 | 84 | / parameter_types! { 85 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 86 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 87 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 88 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:84:1 | 84 | / parameter_types! { 85 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 86 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 87 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 88 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:84:1 | 84 | / parameter_types! { 85 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 86 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 87 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 88 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/devnet/src/config/assets.rs#L50
warning: missing documentation for a type alias --> runtime/devnet/src/config/assets.rs:50:1 | 50 | pub type NftsCall = pallet_nfts::Call<Runtime, TrustBackedNftsInstance>; | ^^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/devnet/src/config/assets.rs#L42
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:42:1 | 42 | pub struct KeyLimit<const N: u32>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/devnet/src/config/mod.rs#L8
warning: missing documentation for a module --> runtime/devnet/src/config/mod.rs:8:1 | 8 | pub mod xcm; | ^^^^^^^^^^^
missing documentation for a module: runtime/devnet/src/config/mod.rs#L3
warning: missing documentation for a module --> runtime/devnet/src/config/mod.rs:3:1 | 3 | pub mod assets; | ^^^^^^^^^^^^^^
missing documentation for an associated function: runtime/devnet/src/lib.rs#L544
warning: missing documentation for an associated function --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a type alias --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct field --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a variant --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: runtime/devnet/src/lib.rs#L544
warning: missing documentation for an enum --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:519:1 | 519 | / parameter_types! { 520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 521 | | pub const DepositBase: Balance = deposit(1, 88); 522 | | // Additional storage item size of 32 bytes. 523 | | pub const DepositFactor: Balance = deposit(0, 32); 524 | | pub const MaxSignatories: u32 = 100; 525 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:519:1 | 519 | / parameter_types! { 520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 521 | | pub const DepositBase: Balance = deposit(1, 88); 522 | | // Additional storage item size of 32 bytes. 523 | | pub const DepositFactor: Balance = deposit(0, 32); 524 | | pub const MaxSignatories: u32 = 100; 525 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:519:1 | 519 | / parameter_types! { 520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 521 | | pub const DepositBase: Balance = deposit(1, 88); 522 | | // Additional storage item size of 32 bytes. 523 | | pub const DepositFactor: Balance = deposit(0, 32); 524 | | pub const MaxSignatories: u32 = 100; 525 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:500:1 | 500 | / parameter_types! { 501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 504 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:500:1 | 500 | / parameter_types! { 501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 504 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:500:1 | 500 | / parameter_types! { 501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 504 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:479:1 | 479 | / parameter_types! { 480 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) * 481 | | RuntimeBlockWeights::get().max_block; 482 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:450:1 | 450 | / parameter_types! { 451 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 452 | | pub const SessionLength: BlockNumber = 6 * HOURS; 453 | | // StakingAdmin pluralistic body. 454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 455 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:450:1 | 450 | / parameter_types! { 451 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 452 | | pub const SessionLength: BlockNumber = 6 * HOURS; 453 | | // StakingAdmin pluralistic body. 454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 455 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:450:1 | 450 | / parameter_types! { 451 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 452 | | pub const SessionLength: BlockNumber = 6 * HOURS; 453 | | // StakingAdmin pluralistic body. 454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 455 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:423:1 | 423 | / parameter_types! { 424 | | pub const Period: u32 = 6 * HOURS; 425 | | pub const Offset: u32 = 0; 426 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:423:1 | 423 | / parameter_types! { 424 | | pub const Period: u32 = 6 * HOURS; 425 | | pub const Offset: u32 = 0; 426 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:377:1 | 377 | / parameter_types! { 378 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 379 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:348:1 | 348 | / parameter_types! { 349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 352 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:348:1 | 348 | / parameter_types! { 349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 352 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:348:1 | 348 | / parameter_types! { 349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 352 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:306:1 | 306 | / parameter_types! { 307 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; 308 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/devnet/src/lib.rs#L179
warning: missing documentation for a constant --> runtime/devnet/src/lib.rs:179:1 | 179 | pub const VERSION: RuntimeVersion = RuntimeVersion { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field --> runtime/devnet/src/lib.rs:172:1 | 172 | / impl_opaque_keys! { 173 | | pub struct SessionKeys { 174 | | pub aura: Aura, 175 | | } 176 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:172:1 | 172 | / impl_opaque_keys! { 173 | | pub struct SessionKeys { 174 | | pub aura: Aura, 175 | | } 176 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/devnet/src/lib.rs#L10
warning: missing documentation for a module --> runtime/devnet/src/lib.rs:10:1 | 10 | pub mod config; | ^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs:1:45 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs:1:1 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a function: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a function --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/mainnet/src/lib.rs#L136
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:136:2 | 136 | pub const MILLICENTS: Balance = CENTS / 1_000; // 100_000 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/mainnet/src/lib.rs#L135
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:135:2 | 135 | pub const CENTS: Balance = MILLIUNIT * 10; // 100_000_000 | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/mainnet/src/config/xcm.rs#L124
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:124:1 | 124 | pub struct XcmConfig; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/mainnet/src/config/xcm.rs#L117
warning: missing documentation for a type alias --> runtime/mainnet/src/config/xcm.rs:117:1 | 117 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>); | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/mainnet/src/config/xcm.rs#L93
warning: missing documentation for a type alias --> runtime/mainnet/src/config/xcm.rs:93:1 | 93 | pub type Barrier = TrailingSetTopicAsId<( | ^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:86:1 | 86 | / parameter_types! { 87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 89 | | pub const MaxInstructions: u32 = 100; 90 | | pub const MaxAssetsIntoHolding: u32 = 64; 91 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:86:1 | 86 | / parameter_types! { 87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 89 | | pub const MaxInstructions: u32 = 100; 90 | | pub const MaxAssetsIntoHolding: u32 = 64; 91 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:86:1 | 86 | / parameter_types! { 87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 89 | | pub const MaxInstructions: u32 = 100; 90 | | pub const MaxAssetsIntoHolding: u32 = 64; 91 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/mainnet/src/config/mod.rs#L2
warning: missing documentation for a module --> runtime/mainnet/src/config/mod.rs:2:1 | 2 | pub mod xcm; | ^^^^^^^^^^^
missing documentation for a module: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a module --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an associated function: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an associated function --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a type alias --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct field --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a variant --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an enum --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:562:1 | 562 | / parameter_types! { 563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 564 | | pub const DepositBase: Balance = deposit(1, 88); 565 | | // Additional storage item size of 32 bytes. 566 | | pub const DepositFactor: Balance = deposit(0, 32); 567 | | pub const MaxSignatories: u32 = 100; 568 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:562:1 | 562 | / parameter_types! { 563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 564 | | pub const DepositBase: Balance = deposit(1, 88); 565 | | // Additional storage item size of 32 bytes. 566 | | pub const DepositFactor: Balance = deposit(0, 32); 567 | | pub const MaxSignatories: u32 = 100; 568 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:562:1 | 562 | / parameter_types! { 563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 564 | | pub const DepositBase: Balance = deposit(1, 88); 565 | | // Additional storage item size of 32 bytes. 566 | | pub const DepositFactor: Balance = deposit(0, 32); 567 | | pub const MaxSignatories: u32 = 100; 568 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:543:1 | 543 | / parameter_types! { 544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 547 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:543:1 | 543 | / parameter_types! { 544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 547 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:522:1 | 522 | / parameter_types! { 523 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) * 524 | | RuntimeBlockWeights::get().max_block; 525 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:494:1 | 494 | / parameter_types! { 495 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 496 | | // StakingAdmin pluralistic body. 497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 498 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:494:1 | 494 | / parameter_types! { 495 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 496 | | // StakingAdmin pluralistic body. 497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 498 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:467:1 | 467 | / parameter_types! { 468 | | pub const Period: u32 = 6 * HOURS; 469 | | pub const Offset: u32 = 0; 470 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:467:1 | 467 | / parameter_types! { 468 | | pub const Period: u32 = 6 * HOURS; 469 | | pub const Offset: u32 = 0; 470 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:421:1 | 421 | / parameter_types! { 422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block; 424 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:421:1 | 421 | / parameter_types! { 422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block; 424 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:392:1 | 392 | / parameter_types! { 393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 396 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:392:1 | 392 | / parameter_types! { 393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 396 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:392:1 | 392 | / parameter_types! { 393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 396 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:370:1 | 370 | / parameter_types! { 371 | | /// Relay Chain `TransactionByteFee` / 10 372 | | pub const TransactionByteFee: Balance = fee::TRANSACTION_BYTE_FEE; 373 | | pub SudoAddress: AccountId = AccountId::from_ss58check("15NMV2JX1NeMwarQiiZvuJ8ixUcvayFDcu1F9Wz1HNpSc8gP").expect("sudo address is va... 374 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:347:1 | 347 | / parameter_types! { 348 | | // increase ED 100 times to match system chains: 1_000_000_000 349 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT * 100; 350 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/mainnet/src/lib.rs#L235
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:235:1 | 235 | pub const VERSION: RuntimeVersion = RuntimeVersion { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field --> runtime/mainnet/src/lib.rs:228:1 | 228 | / impl_opaque_keys! { 229 | | pub struct SessionKeys { 230 | | pub aura: Aura, 231 | | } 232 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:228:1 | 228 | / impl_opaque_keys! { 229 | | pub struct SessionKeys { 230 | | pub aura: Aura, 231 | | } 232 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a function: runtime/mainnet/src/lib.rs#L116
warning: missing documentation for a function --> runtime/mainnet/src/lib.rs:116:1 | 116 | pub const fn deposit(items: u32, bytes: u32) -> Balance { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: runtime/mainnet/src/lib.rs#L9
warning: missing documentation for a module --> runtime/mainnet/src/lib.rs:9:1 | 9 | pub mod config; | ^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs:1:45 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs:1:1 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a function: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a function --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/testnet/src/config/xcm.rs#L128
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:128:1 | 128 | pub struct XcmConfig; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/testnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias --> runtime/testnet/src/config/xcm.rs:126:1 | 126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>); | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/testnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias --> runtime/testnet/src/config/xcm.rs:101:1 | 101 | pub type Barrier = TrailingSetTopicAsId<( | ^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/testnet/src/config/xcm.rs#L94
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:94:1 | 94 | pub struct ParentOrParentsExecutivePlurality; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/testnet/src/config/assets.rs#L100
warning: missing documentation for a type alias --> runtime/testnet/src/config/assets.rs:100:1 | 100 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:73:1 | 73 | / parameter_types! { 74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 77 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:73:1 | 73 | / parameter_types! { 74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 77 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:73:1 | 73 | / parameter_types! { 74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 77 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
large size difference between variants: node/src/cli.rs#L5
warning: large size difference between variants --> node/src/cli.rs:5:1 | 5 | / pub enum Subcommand { 6 | | /// Build a chain specification. 7 | | BuildSpec(sc_cli::BuildSpecCmd), ... | 19 | | ImportBlocks(sc_cli::ImportBlocksCmd), | | ------------------------------------- the second-largest variant contains at least 240 bytes ... | 39 | | Benchmark(frame_benchmarking_cli::BenchmarkCmd), | | ----------------------------------------------- the largest variant contains at least 544 bytes ... | 43 | | Key(sc_cli::KeySubcommand), 44 | | } | |_^ the entire enum is at least 544 bytes | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant = note: `#[warn(clippy::large_enum_variant)]` on by default help: consider boxing the large fields to reduce the total size of the enum | 39 | Benchmark(Box<frame_benchmarking_cli::BenchmarkCmd>), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a function: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a function --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/mainnet/src/lib.rs#L136
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:136:2 | 136 | pub const MILLICENTS: Balance = CENTS / 1_000; // 100_000 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/mainnet/src/lib.rs#L135
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:135:2 | 135 | pub const CENTS: Balance = MILLIUNIT * 10; // 100_000_000 | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/mainnet/src/config/xcm.rs#L124
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:124:1 | 124 | pub struct XcmConfig; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/mainnet/src/config/xcm.rs#L117
warning: missing documentation for a type alias --> runtime/mainnet/src/config/xcm.rs:117:1 | 117 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>); | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/mainnet/src/config/xcm.rs#L93
warning: missing documentation for a type alias --> runtime/mainnet/src/config/xcm.rs:93:1 | 93 | pub type Barrier = TrailingSetTopicAsId<( | ^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:86:1 | 86 | / parameter_types! { 87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 89 | | pub const MaxInstructions: u32 = 100; 90 | | pub const MaxAssetsIntoHolding: u32 = 64; 91 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:86:1 | 86 | / parameter_types! { 87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 89 | | pub const MaxInstructions: u32 = 100; 90 | | pub const MaxAssetsIntoHolding: u32 = 64; 91 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:86:1 | 86 | / parameter_types! { 87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 89 | | pub const MaxInstructions: u32 = 100; 90 | | pub const MaxAssetsIntoHolding: u32 = 64; 91 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/testnet/src/config/mod.rs#L7
warning: missing documentation for a module --> runtime/testnet/src/config/mod.rs:7:1 | 7 | pub mod xcm; | ^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module --> runtime/testnet/src/config/mod.rs:3:1 | 3 | pub mod assets; | ^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/config/xcm.rs:31:1 | 31 | / parameter_types! { 32 | | pub const RelayLocation: Location = Location::parent(); 33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot); 35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); 36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int... 37 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/mainnet/src/config/mod.rs#L2
warning: missing documentation for a module --> runtime/mainnet/src/config/mod.rs:2:1 | 2 | pub mod xcm; | ^^^^^^^^^^^
missing documentation for a module: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a module --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:680:1 | 680 | / impl_runtime_apis! { 681 | | 682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 915 | | } 916 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an associated function: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an associated function --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a type alias --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct field --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a variant --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an enum --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:587:1 | 587 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:562:1 | 562 | / parameter_types! { 563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 564 | | pub const DepositBase: Balance = deposit(1, 88); 565 | | // Additional storage item size of 32 bytes. 566 | | pub const DepositFactor: Balance = deposit(0, 32); 567 | | pub const MaxSignatories: u32 = 100; 568 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:562:1 | 562 | / parameter_types! { 563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 564 | | pub const DepositBase: Balance = deposit(1, 88); 565 | | // Additional storage item size of 32 bytes. 566 | | pub const DepositFactor: Balance = deposit(0, 32); 567 | | pub const MaxSignatories: u32 = 100; 568 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:562:1 | 562 | / parameter_types! { 563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 564 | | pub const DepositBase: Balance = deposit(1, 88); 565 | | // Additional storage item size of 32 bytes. 566 | | pub const DepositFactor: Balance = deposit(0, 32); 567 | | pub const MaxSignatories: u32 = 100; 568 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:543:1 | 543 | / parameter_types! { 544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 547 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:543:1 | 543 | / parameter_types! { 544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 547 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:543:1 | 543 | / parameter_types! { 544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 547 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:522:1 | 522 | / parameter_types! { 523 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) * 524 | | RuntimeBlockWeights::get().max_block; 525 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:494:1 | 494 | / parameter_types! { 495 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 496 | | // StakingAdmin pluralistic body. 497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 498 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:494:1 | 494 | / parameter_types! { 495 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 496 | | // StakingAdmin pluralistic body. 497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 498 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:467:1 | 467 | / parameter_types! { 468 | | pub const Period: u32 = 6 * HOURS; 469 | | pub const Offset: u32 = 0; 470 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:467:1 | 467 | / parameter_types! { 468 | | pub const Period: u32 = 6 * HOURS; 469 | | pub const Offset: u32 = 0; 470 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:421:1 | 421 | / parameter_types! { 422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block; 424 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:421:1 | 421 | / parameter_types! { 422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block; 424 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:392:1 | 392 | / parameter_types! { 393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 396 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:392:1 | 392 | / parameter_types! { 393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 396 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:392:1 | 392 | / parameter_types! { 393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 396 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:370:1 | 370 | / parameter_types! { 371 | | /// Relay Chain `TransactionByteFee` / 10 372 | | pub const TransactionByteFee: Balance = fee::TRANSACTION_BYTE_FEE; 373 | | pub SudoAddress: AccountId = AccountId::from_ss58check("15NMV2JX1NeMwarQiiZvuJ8ixUcvayFDcu1F9Wz1HNpSc8gP").expect("sudo address is va... 374 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:347:1 | 347 | / parameter_types! { 348 | | // increase ED 100 times to match system chains: 1_000_000_000 349 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT * 100; 350 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a module --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:253:1 | 253 | / parameter_types! { 254 | | pub const Version: RuntimeVersion = VERSION; 255 | | 256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 280 | | pub const SS58Prefix: u16 = 0; 281 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/mainnet/src/lib.rs#L235
warning: missing documentation for a constant --> runtime/mainnet/src/lib.rs:235:1 | 235 | pub const VERSION: RuntimeVersion = RuntimeVersion { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field --> runtime/mainnet/src/lib.rs:228:1 | 228 | / impl_opaque_keys! { 229 | | pub struct SessionKeys { 230 | | pub aura: Aura, 231 | | } 232 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a constant --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct --> runtime/mainnet/src/lib.rs:228:1 | 228 | / impl_opaque_keys! { 229 | | pub struct SessionKeys { 230 | | pub aura: Aura, 231 | | } 232 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an associated function: runtime/testnet/src/lib.rs#L551
warning: missing documentation for an associated function --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a type alias --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct field --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a variant --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: runtime/testnet/src/lib.rs#L551
warning: missing documentation for an enum --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:526:1 | 526 | / parameter_types! { 527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 528 | | pub const DepositBase: Balance = deposit(1, 88); 529 | | // Additional storage item size of 32 bytes. 530 | | pub const DepositFactor: Balance = deposit(0, 32); 531 | | pub const MaxSignatories: u32 = 100; 532 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:526:1 | 526 | / parameter_types! { 527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 528 | | pub const DepositBase: Balance = deposit(1, 88); 529 | | // Additional storage item size of 32 bytes. 530 | | pub const DepositFactor: Balance = deposit(0, 32); 531 | | pub const MaxSignatories: u32 = 100; 532 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:526:1 | 526 | / parameter_types! { 527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 528 | | pub const DepositBase: Balance = deposit(1, 88); 529 | | // Additional storage item size of 32 bytes. 530 | | pub const DepositFactor: Balance = deposit(0, 32); 531 | | pub const MaxSignatories: u32 = 100; 532 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:507:1 | 507 | / parameter_types! { 508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 511 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:507:1 | 507 | / parameter_types! { 508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 511 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:507:1 | 507 | / parameter_types! { 508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 511 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:486:1 | 486 | / parameter_types! { 487 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) * 488 | | RuntimeBlockWeights::get().max_block; 489 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:457:1 | 457 | / parameter_types! { 458 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 459 | | pub const SessionLength: BlockNumber = 6 * HOURS; 460 | | // StakingAdmin pluralistic body. 461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 462 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:457:1 | 457 | / parameter_types! { 458 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 459 | | pub const SessionLength: BlockNumber = 6 * HOURS; 460 | | // StakingAdmin pluralistic body. 461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 462 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:430:1 | 430 | / parameter_types! { 431 | | pub const Period: u32 = 6 * HOURS; 432 | | pub const Offset: u32 = 0; 433 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:430:1 | 430 | / parameter_types! { 431 | | pub const Period: u32 = 6 * HOURS; 432 | | pub const Offset: u32 = 0; 433 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:379:1 | 379 | / parameter_types! { 380 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 381 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:350:1 | 350 | / parameter_types! { 351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 354 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:350:1 | 350 | / parameter_types! { 351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 354 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:350:1 | 350 | / parameter_types! { 351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 354 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:308:1 | 308 | / parameter_types! { 309 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; 310 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a function: runtime/mainnet/src/lib.rs#L116
warning: missing documentation for a function --> runtime/mainnet/src/lib.rs:116:1 | 116 | pub const fn deposit(items: u32, bytes: u32) -> Balance { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/mainnet/src/lib.rs#L9
warning: missing documentation for a module --> runtime/mainnet/src/lib.rs:9:1 | 9 | pub mod config; | ^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs:1:45 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-c60d826f4f698c2e/out/wasm_binary.rs:1:1 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/testnet/src/lib.rs#L181
warning: missing documentation for a constant --> runtime/testnet/src/lib.rs:181:1 | 181 | pub const VERSION: RuntimeVersion = RuntimeVersion { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a function: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a function --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/testnet/src/config/xcm.rs#L128
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:128:1 | 128 | pub struct XcmConfig; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field --> runtime/testnet/src/lib.rs:174:1 | 174 | / impl_opaque_keys! { 175 | | pub struct SessionKeys { 176 | | pub aura: Aura, 177 | | } 178 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/testnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias --> runtime/testnet/src/config/xcm.rs:126:1 | 126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>); | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:174:1 | 174 | / impl_opaque_keys! { 175 | | pub struct SessionKeys { 176 | | pub aura: Aura, 177 | | } 178 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/testnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias --> runtime/testnet/src/config/xcm.rs:101:1 | 101 | pub type Barrier = TrailingSetTopicAsId<( | ^^^^^^^^^^^^^^^^
missing documentation for a module: runtime/testnet/src/lib.rs#L10
warning: missing documentation for a module --> runtime/testnet/src/lib.rs:10:1 | 10 | pub mod config; | ^^^^^^^^^^^^^^
missing documentation for a struct: runtime/testnet/src/config/xcm.rs#L94
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:94:1 | 94 | pub struct ParentOrParentsExecutivePlurality; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs:1:45 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs:1:1 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for the crate: runtime/mainnet/build.rs#L1
warning: missing documentation for the crate --> runtime/mainnet/build.rs:1:1 | 1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))] 2 | | fn main() { 3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults() 4 | | .enable_metadata_hash("DOT", 10) ... | 15 | | #[cfg(not(feature = "std"))] 16 | | fn main() {} | |____________^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for the crate: runtime/devnet/build.rs#L1
warning: missing documentation for the crate --> runtime/devnet/build.rs:1:1 | 1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))] 2 | | fn main() { 3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults() 4 | | .enable_metadata_hash("PAS", 10) ... | 15 | | #[cfg(not(feature = "std"))] 16 | | fn main() {} | |____________^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for the crate: runtime/testnet/build.rs#L1
warning: missing documentation for the crate --> runtime/testnet/build.rs:1:1 | 1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))] 2 | | fn main() { 3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults() 4 | | .enable_metadata_hash("PAS", 10) ... | 15 | | #[cfg(not(feature = "std"))] 16 | | fn main() {} | |____________^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for the crate: integration-tests/src/lib.rs#L1
warning: missing documentation for the crate --> integration-tests/src/lib.rs:1:1 | 1 | / #![cfg(test)] 2 | | 3 | | use asset_hub_paseo_runtime::xcm_config::XcmConfig as AssetHubPaseoXcmConfig; 4 | | use asset_test_utils::xcm_helpers; ... | 597 | | }); 598 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for the crate: node/build.rs#L1
warning: missing documentation for the crate --> node/build.rs:1:1 | 1 | / use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed}; 2 | | 3 | | fn main() { 4 | | generate_cargo_keys(); 5 | | 6 | | rerun_if_git_head_changed(); 7 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/testnet/src/config/assets.rs#L100
warning: missing documentation for a type alias --> runtime/testnet/src/config/assets.rs:100:1 | 100 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: pallets/api/src/nonfungibles/mod.rs#L220
warning: missing documentation for a variant --> pallets/api/src/nonfungibles/mod.rs:220:12 | 220 | #[pallet::call] | _______________^ 221 | | impl<T: Config> Pallet<T> { 222 | | /// Transfers the collection item from the caller's account to account `to`. 223 | | /// ... | 400 | | #[pallet::weight(NftsWeightInfoOf::<T>::clear_metadata())] 401 | | pub fn clear_metadata( | |_____________________________^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:73:1 | 73 | / parameter_types! { 74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 77 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an associated function: pallets/api/src/nonfungibles/mod.rs#L45
warning: missing documentation for an associated function --> pallets/api/src/nonfungibles/mod.rs:45:1 | 45 | #[frame_support::pallet] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:73:1 | 73 | / parameter_types! { 74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 77 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: pallets/api/src/lib.rs#L6
warning: missing documentation for a module --> pallets/api/src/lib.rs:6:1 | 6 | pub mod extension; | ^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:73:1 | 73 | / parameter_types! { 74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 77 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for the crate: pallets/api/src/lib.rs#L1
warning: missing documentation for the crate --> pallets/api/src/lib.rs:1:1 | 1 | / #![cfg_attr(not(feature = "std"), no_std)] 2 | | 3 | | pub use extension::Extension; 4 | | use frame_support::pallet_prelude::Weight; ... | 30 | | fn read(request: Self::Read) -> Self::Result; 31 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L622
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:622:4 | 622 | value: BoundedVec<u8, T::ValueLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L621
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:621:4 | 621 | attribute: PalletAttributes<T::CollectionId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L620
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:620:4 | 620 | item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L619
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:619:4 | 619 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L614
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:614:4 | 614 | namespace: AttributeNamespace<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L613
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:613:4 | 613 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/testnet/src/config/mod.rs#L7
warning: missing documentation for a module --> runtime/testnet/src/config/mod.rs:7:1 | 7 | pub mod xcm; | ^^^^^^^^^^^
missing documentation for a module: runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module --> runtime/testnet/src/config/mod.rs:3:1 | 3 | pub mod assets; | ^^^^^^^^^^^^^^
missing documentation for a module: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a module --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a constant --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/testnet/src/lib.rs#L661
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:661:1 | 661 | / impl_runtime_apis! { 662 | | 663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { 664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration { ... | 1007 | | } 1008 | | } | |_^ | = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an associated function: runtime/testnet/src/lib.rs#L551
warning: missing documentation for an associated function --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a type alias --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct field --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a variant --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: runtime/testnet/src/lib.rs#L551
warning: missing documentation for an enum --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:551:1 | 551 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:526:1 | 526 | / parameter_types! { 527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 528 | | pub const DepositBase: Balance = deposit(1, 88); 529 | | // Additional storage item size of 32 bytes. 530 | | pub const DepositFactor: Balance = deposit(0, 32); 531 | | pub const MaxSignatories: u32 = 100; 532 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:526:1 | 526 | / parameter_types! { 527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 528 | | pub const DepositBase: Balance = deposit(1, 88); 529 | | // Additional storage item size of 32 bytes. 530 | | pub const DepositFactor: Balance = deposit(0, 32); 531 | | pub const MaxSignatories: u32 = 100; 532 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:507:1 | 507 | / parameter_types! { 508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 511 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:507:1 | 507 | / parameter_types! { 508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 511 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:507:1 | 507 | / parameter_types! { 508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 511 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:486:1 | 486 | / parameter_types! { 487 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) * 488 | | RuntimeBlockWeights::get().max_block; 489 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L612
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:612:4 | 612 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L608
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:608:4 | 608 | deadline: BlockNumberFor<T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L607
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:607:4 | 607 | price: Option<PriceWithDirection<ItemPrice<T, I>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L606
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:606:4 | 606 | received_item_owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L605
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:605:4 | 605 | received_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L604
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:604:4 | 604 | received_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L603
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:603:4 | 603 | sent_item_owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L602
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:602:4 | 602 | sent_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L601
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:601:4 | 601 | sent_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L597
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:597:4 | 597 | deadline: BlockNumberFor<T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L596
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:596:4 | 596 | price: Option<PriceWithDirection<ItemPrice<T, I>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:457:1 | 457 | / parameter_types! { 458 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 459 | | pub const SessionLength: BlockNumber = 6 * HOURS; 460 | | // StakingAdmin pluralistic body. 461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 462 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L595
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:595:4 | 595 | desired_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:457:1 | 457 | / parameter_types! { 458 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 459 | | pub const SessionLength: BlockNumber = 6 * HOURS; 460 | | // StakingAdmin pluralistic body. 461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 462 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L594
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:594:4 | 594 | desired_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:457:1 | 457 | / parameter_types! { 458 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 459 | | pub const SessionLength: BlockNumber = 6 * HOURS; 460 | | // StakingAdmin pluralistic body. 461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 462 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L593
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:593:4 | 593 | offered_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:430:1 | 430 | / parameter_types! { 431 | | pub const Period: u32 = 6 * HOURS; 432 | | pub const Offset: u32 = 0; 433 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:430:1 | 430 | / parameter_types! { 431 | | pub const Period: u32 = 6 * HOURS; 432 | | pub const Offset: u32 = 0; 433 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L592
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:592:4 | 592 | offered_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:379:1 | 379 | / parameter_types! { 380 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 381 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L588
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:588:4 | 588 | deadline: BlockNumberFor<T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:350:1 | 350 | / parameter_types! { 351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 354 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L587
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:587:4 | 587 | price: Option<PriceWithDirection<ItemPrice<T, I>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:350:1 | 350 | / parameter_types! { 351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 354 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L586
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:586:4 | 586 | desired_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:350:1 | 350 | / parameter_types! { 351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 354 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L585
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:585:4 | 585 | desired_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:308:1 | 308 | / parameter_types! { 309 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; 310 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L584
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:584:4 | 584 | offered_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L583
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:583:4 | 583 | offered_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L579
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:579:4 | 579 | amount: DepositBalanceOf<T, I>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:211:1 | 211 | / parameter_types! { 212 | | pub const Version: RuntimeVersion = VERSION; 213 | | 214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 238 | | pub const SS58Prefix: u16 = 0; 239 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L578
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:578:4 | 578 | receiver: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/testnet/src/lib.rs#L181
warning: missing documentation for a constant --> runtime/testnet/src/lib.rs:181:1 | 181 | pub const VERSION: RuntimeVersion = RuntimeVersion { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L577
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:577:4 | 577 | sender: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field --> runtime/testnet/src/lib.rs:174:1 | 174 | / impl_opaque_keys! { 175 | | pub struct SessionKeys { 176 | | pub aura: Aura, 177 | | } 178 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L576
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:576:4 | 576 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct --> runtime/testnet/src/lib.rs:174:1 | 174 | / impl_opaque_keys! { 175 | | pub struct SessionKeys { 176 | | pub aura: Aura, 177 | | } 178 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L575
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:575:4 | 575 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: runtime/testnet/src/lib.rs#L10
warning: missing documentation for a module --> runtime/testnet/src/lib.rs:10:1 | 10 | pub mod config; | ^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L571
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:571:4 | 571 | buyer: T::AccountId, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs:1:45 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L570
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:570:4 | 570 | seller: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-3da73161addf685c/out/wasm_binary.rs:1:1 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/devnet/src/config/xcm.rs#L128
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:128:1 | 128 | pub struct XcmConfig; | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L569
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:569:4 | 569 | price: ItemPrice<T, I>, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/devnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias --> runtime/devnet/src/config/xcm.rs:126:1 | 126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>); | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L568
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:568:4 | 568 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/devnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias --> runtime/devnet/src/config/xcm.rs:101:1 | 101 | pub type Barrier = TrailingSetTopicAsId<( | ^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L567
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:567:4 | 567 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/devnet/src/config/xcm.rs#L94
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:94:1 | 94 | pub struct ParentOrParentsExecutivePlurality; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L564
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:564:51 | 564 | ItemPriceRemoved { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L564
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:564:22 | 564 | ItemPriceRemoved { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L561
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:561:4 | 561 | whitelisted_buyer: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:87:1 | 87 | / parameter_types! { 88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. 89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024); 90 | | pub const MaxInstructions: u32 = 100; 91 | | pub const MaxAssetsIntoHolding: u32 = 64; 92 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L560
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:560:4 | 560 | price: ItemPrice<T, I>, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L559
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:559:4 | 559 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L558
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:558:4 | 558 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L555
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:555:33 | 555 | NextCollectionIdIncremented { next_id: Option<T::CollectionId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L553
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:553:35 | 553 | CollectionMintSettingsUpdated { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/xcm.rs:28:1 | 28 | / parameter_types! { 29 | | pub const RelayLocation: Location = Location::parent(); 30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]); 31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/... ... | 36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into(); 37 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L551
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:551:57 | 551 | CollectionMaxSupplySet { collection: T::CollectionId, max_supply: u32 }, | ^^^^^^^^^^^^^^^
missing documentation for a type alias: runtime/devnet/src/config/assets.rs#L111
warning: missing documentation for a type alias --> runtime/devnet/src/config/assets.rs:111:1 | 111 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L551
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:551:28 | 551 | CollectionMaxSupplySet { collection: T::CollectionId, max_supply: u32 }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:84:1 | 84 | / parameter_types! { 85 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 86 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 87 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 88 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L549
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:549:51 | 549 | OwnershipAcceptanceChanged { who: T::AccountId, maybe_collection: Option<T::CollectionId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:84:1 | 84 | / parameter_types! { 85 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 86 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 87 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 88 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L549
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:549:32 | 549 | OwnershipAcceptanceChanged { who: T::AccountId, maybe_collection: Option<T::CollectionId> }, | ^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:84:1 | 84 | / parameter_types! { 85 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction"); 86 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap(); 87 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap(); 88 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/devnet/src/config/assets.rs#L50
warning: missing documentation for a type alias --> runtime/devnet/src/config/assets.rs:50:1 | 50 | pub type NftsCall = pallet_nfts::Call<Runtime, TrustBackedNftsInstance>; | ^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L546
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:546:4 | 546 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: runtime/devnet/src/config/assets.rs#L42
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:42:1 | 42 | pub struct KeyLimit<const N: u32>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L545
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:545:4 | 545 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L544
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:544:4 | 544 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L540
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:540:4 | 540 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L539
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:539:4 | 539 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L538
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:538:4 | 538 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L534
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:534:4 | 534 | namespace: AttributeNamespace<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:30:1 | 30 | / parameter_types! { 31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled(); 32 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT; 33 | | pub const NftsItemDeposit: Balance = UNIT / 100; ... | 37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS; 38 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/config/assets.rs:19:1 | 19 | / parameter_types! { 20 | | pub const AssetDeposit: Balance = 10 * UNIT; 21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16); 22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; ... | 27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1); 28 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/devnet/src/config/mod.rs#L8
warning: missing documentation for a module --> runtime/devnet/src/config/mod.rs:8:1 | 8 | pub mod xcm; | ^^^^^^^^^^^
missing documentation for a module: runtime/devnet/src/config/mod.rs#L3
warning: missing documentation for a module --> runtime/devnet/src/config/mod.rs:3:1 | 3 | pub mod assets; | ^^^^^^^^^^^^^^
missing documentation for an associated function: runtime/devnet/src/lib.rs#L544
warning: missing documentation for an associated function --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a type alias: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a type alias --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct field --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a variant: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a variant --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for an enum: runtime/devnet/src/lib.rs#L544
warning: missing documentation for an enum --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:544:1 | 544 | #[frame_support::runtime] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:519:1 | 519 | / parameter_types! { 520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 521 | | pub const DepositBase: Balance = deposit(1, 88); 522 | | // Additional storage item size of 32 bytes. 523 | | pub const DepositFactor: Balance = deposit(0, 32); 524 | | pub const MaxSignatories: u32 = 100; 525 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:519:1 | 519 | / parameter_types! { 520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 521 | | pub const DepositBase: Balance = deposit(1, 88); 522 | | // Additional storage item size of 32 bytes. 523 | | pub const DepositFactor: Balance = deposit(0, 32); 524 | | pub const MaxSignatories: u32 = 100; 525 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:519:1 | 519 | / parameter_types! { 520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes. 521 | | pub const DepositBase: Balance = deposit(1, 88); 522 | | // Additional storage item size of 32 bytes. 523 | | pub const DepositFactor: Balance = deposit(0, 32); 524 | | pub const MaxSignatories: u32 = 100; 525 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:500:1 | 500 | / parameter_types! { 501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 504 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:500:1 | 500 | / parameter_types! { 501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 504 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:500:1 | 500 | / parameter_types! { 501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); 502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64); 503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1); 504 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:479:1 | 479 | / parameter_types! { 480 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) * 481 | | RuntimeBlockWeights::get().max_block; 482 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:450:1 | 450 | / parameter_types! { 451 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 452 | | pub const SessionLength: BlockNumber = 6 * HOURS; 453 | | // StakingAdmin pluralistic body. 454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 455 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:450:1 | 450 | / parameter_types! { 451 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 452 | | pub const SessionLength: BlockNumber = 6 * HOURS; 453 | | // StakingAdmin pluralistic body. 454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 455 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:450:1 | 450 | / parameter_types! { 451 | | pub const PotId: PalletId = PalletId(*b"PotStake"); 452 | | pub const SessionLength: BlockNumber = 6 * HOURS; 453 | | // StakingAdmin pluralistic body. 454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense; 455 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:423:1 | 423 | / parameter_types! { 424 | | pub const Period: u32 = 6 * HOURS; 425 | | pub const Offset: u32 = 0; 426 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:423:1 | 423 | / parameter_types! { 424 | | pub const Period: u32 = 6 * HOURS; 425 | | pub const Offset: u32 = 0; 426 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:377:1 | 377 | / parameter_types! { 378 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; 379 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:348:1 | 348 | / parameter_types! { 349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 352 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:348:1 | 348 | / parameter_types! { 349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 352 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:348:1 | 348 | / parameter_types! { 349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); 351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; 352 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:306:1 | 306 | / parameter_types! { 307 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; 308 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:209:1 | 209 | / parameter_types! { 210 | | pub const Version: RuntimeVersion = VERSION; 211 | | 212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. ... | 236 | | pub const SS58Prefix: u16 = 42; 237 | | } | |_^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a constant: runtime/devnet/src/lib.rs#L179
warning: missing documentation for a constant --> runtime/devnet/src/lib.rs:179:1 | 179 | pub const VERSION: RuntimeVersion = RuntimeVersion { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field --> runtime/devnet/src/lib.rs:172:1 | 172 | / impl_opaque_keys! { 173 | | pub struct SessionKeys { 174 | | pub aura: Aura, 175 | | } 176 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct --> runtime/devnet/src/lib.rs:172:1 | 172 | / impl_opaque_keys! { 173 | | pub struct SessionKeys { 174 | | pub aura: Aura, 175 | | } 176 | | } | |_^ | = note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a module: runtime/devnet/src/lib.rs#L10
warning: missing documentation for a module --> runtime/devnet/src/lib.rs:10:1 | 10 | pub mod config; | ^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs:1:45 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs#L1
warning: missing documentation for a constant --> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-a3fc6b4f92e327af/out/wasm_binary.rs:1:1 | 1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L533
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:533:4 | 533 | key: BoundedVec<u8, T::KeyLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: runtime/mainnet/build.rs#L1
warning: missing documentation for the crate --> runtime/mainnet/build.rs:1:1 | 1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))] 2 | | fn main() { 3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults() 4 | | .enable_metadata_hash("DOT", 10) ... | 15 | | #[cfg(not(feature = "std"))] 16 | | fn main() {} | |____________^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct field: pallets/nfts/src/lib.rs#L532
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:532:4 | 532 | maybe_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: runtime/testnet/build.rs#L1
warning: missing documentation for the crate --> runtime/testnet/build.rs:1:1 | 1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))] 2 | | fn main() { 3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults() 4 | | .enable_metadata_hash("PAS", 10) ... | 15 | | #[cfg(not(feature = "std"))] 16 | | fn main() {} | |____________^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct field: pallets/nfts/src/lib.rs#L531
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:531:4 | 531 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: runtime/devnet/build.rs#L1
warning: missing documentation for the crate --> runtime/devnet/build.rs:1:1 | 1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))] 2 | | fn main() { 3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults() 4 | | .enable_metadata_hash("PAS", 10) ... | 15 | | #[cfg(not(feature = "std"))] 16 | | fn main() {} | |____________^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct field: pallets/nfts/src/lib.rs#L527
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:527:4 | 527 | namespace: AttributeNamespace<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: integration-tests/src/lib.rs#L1
warning: missing documentation for the crate --> integration-tests/src/lib.rs:1:1 | 1 | / #![cfg(test)] 2 | | 3 | | use asset_hub_paseo_runtime::xcm_config::XcmConfig as AssetHubPaseoXcmConfig; 4 | | use asset_test_utils::xcm_helpers; ... | 597 | | }); 598 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct field: pallets/nfts/src/lib.rs#L526
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:526:4 | 526 | value: BoundedVec<u8, T::ValueLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L525
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:525:4 | 525 | key: BoundedVec<u8, T::KeyLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: node/build.rs#L1
warning: missing documentation for the crate --> node/build.rs:1:1 | 1 | / use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed}; 2 | | 3 | | fn main() { 4 | | generate_cargo_keys(); 5 | | 6 | | rerun_if_git_head_changed(); 7 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct field: pallets/nfts/src/lib.rs#L524
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:524:4 | 524 | maybe_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: pallets/api/src/nonfungibles/mod.rs#L220
warning: missing documentation for a variant --> pallets/api/src/nonfungibles/mod.rs:220:12 | 220 | #[pallet::call] | _______________^ 221 | | impl<T: Config> Pallet<T> { 222 | | /// Transfers the collection item from the caller's account to account `to`. 223 | | /// ... | 400 | | #[pallet::weight(NftsWeightInfoOf::<T>::clear_metadata())] 401 | | pub fn clear_metadata( | |_____________________________^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L523
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:523:4 | 523 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/api/src/nonfungibles/mod.rs#L45
warning: missing documentation for an associated function --> pallets/api/src/nonfungibles/mod.rs:45:1 | 45 | #[frame_support::pallet] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this warning originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct field: pallets/nfts/src/lib.rs#L520
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:520:46 | 520 | Redeposited { collection: T::CollectionId, successful_items: Vec<T::ItemId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: pallets/api/src/lib.rs#L6
warning: missing documentation for a module --> pallets/api/src/lib.rs:6:1 | 6 | pub mod extension; | ^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L520
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:520:17 | 520 | Redeposited { collection: T::CollectionId, successful_items: Vec<T::ItemId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L518
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:518:54 | 518 | ItemMetadataCleared { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
missing documentation for the crate: pallets/api/src/lib.rs#L1
warning: missing documentation for the crate --> pallets/api/src/lib.rs:1:1 | 1 | / #![cfg_attr(not(feature = "std"), no_std)] 2 | | 3 | | pub use extension::Extension; 4 | | use frame_support::pallet_prelude::Weight; ... | 30 | | fn read(request: Self::Read) -> Self::Result; 31 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
missing documentation for a struct field: pallets/nfts/src/lib.rs#L518
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:518:25 | 518 | ItemMetadataCleared { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L622
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:622:4 | 622 | value: BoundedVec<u8, T::ValueLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L515
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:515:4 | 515 | data: BoundedVec<u8, T::StringLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L621
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:621:4 | 621 | attribute: PalletAttributes<T::CollectionId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L514
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:514:4 | 514 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L620
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:620:4 | 620 | item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L513
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:513:4 | 513 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L510
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:510:31 | 510 | CollectionMetadataCleared { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L619
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:619:4 | 619 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L508
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:508:56 | 508 | CollectionMetadataSet { collection: T::CollectionId, data: BoundedVec<u8, T::StringLimit> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L614
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:614:4 | 614 | namespace: AttributeNamespace<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L508
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:508:27 | 508 | CollectionMetadataSet { collection: T::CollectionId, data: BoundedVec<u8, T::StringLimit> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L613
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:613:4 | 613 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L506
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:506:29 | 506 | CollectionConfigChanged { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L504
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:504:73 | 504 | AllApprovalsCancelled { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L504
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:504:56 | 504 | AllApprovalsCancelled { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L504
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:504:27 | 504 | AllApprovalsCancelled { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L501
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:501:4 | 501 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L500
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:500:4 | 500 | owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L499
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:499:4 | 499 | item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L498
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:498:4 | 498 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L493
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:493:4 | 493 | deadline: Option<BlockNumberFor<T>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L492
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:492:4 | 492 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L491
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:491:4 | 491 | owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L490
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:490:4 | 490 | item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L489
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:489:4 | 489 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L484
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:484:4 | 484 | freezer: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L483
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:483:4 | 483 | admin: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L482
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:482:4 | 482 | issuer: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L481
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:481:4 | 481 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L478
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:478:47 | 478 | OwnerChanged { collection: T::CollectionId, new_owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L478
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:478:18 | 478 | OwnerChanged { collection: T::CollectionId, new_owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L476
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:476:22 | 476 | CollectionLocked { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L473
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:473:4 | 473 | lock_attributes: bool, | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L472
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:472:4 | 472 | lock_metadata: bool, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L471
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:471:4 | 471 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L470
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:470:4 | 470 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L467
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:467:55 | 467 | ItemTransferUnlocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L467
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:467:26 | 467 | ItemTransferUnlocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L465
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:465:53 | 465 | ItemTransferLocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L465
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:465:24 | 465 | ItemTransferLocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L463
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:463:58 | 463 | Burned { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L463
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:463:41 | 463 | Burned { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L463
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:463:12 | 463 | Burned { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L460
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:460:4 | 460 | to: T::AccountId, | ^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L612
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:612:4 | 612 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L608
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:608:4 | 608 | deadline: BlockNumberFor<T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L607
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:607:4 | 607 | price: Option<PriceWithDirection<ItemPrice<T, I>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L606
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:606:4 | 606 | received_item_owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L605
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:605:4 | 605 | received_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L604
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:604:4 | 604 | received_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L603
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:603:4 | 603 | sent_item_owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L602
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:602:4 | 602 | sent_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L601
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:601:4 | 601 | sent_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L597
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:597:4 | 597 | deadline: BlockNumberFor<T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L596
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:596:4 | 596 | price: Option<PriceWithDirection<ItemPrice<T, I>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L595
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:595:4 | 595 | desired_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L594
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:594:4 | 594 | desired_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L459
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:459:4 | 459 | from: T::AccountId, | ^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L593
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:593:4 | 593 | offered_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L458
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:458:4 | 458 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L592
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:592:4 | 592 | offered_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L457
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:457:4 | 457 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L588
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:588:4 | 588 | deadline: BlockNumberFor<T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L454
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:454:58 | 454 | Issued { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L587
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:587:4 | 587 | price: Option<PriceWithDirection<ItemPrice<T, I>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L454
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:454:41 | 454 | Issued { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L586
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:586:4 | 586 | desired_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L454
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:454:12 | 454 | Issued { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L452
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:452:15 | 452 | Destroyed { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L585
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:585:4 | 585 | desired_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L450
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:450:47 | 450 | ForceCreated { collection: T::CollectionId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L584
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:584:4 | 584 | offered_item: T::ItemId, | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L450
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:450:18 | 450 | ForceCreated { collection: T::CollectionId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L583
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:583:4 | 583 | offered_collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L448
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:448:65 | 448 | Created { collection: T::CollectionId, creator: T::AccountId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L579
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:579:4 | 579 | amount: DepositBalanceOf<T, I>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L448
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:448:42 | 448 | Created { collection: T::CollectionId, creator: T::AccountId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L578
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:578:4 | 578 | receiver: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L448
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:448:13 | 448 | Created { collection: T::CollectionId, creator: T::AccountId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L577
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:577:4 | 577 | sender: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L93
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:93:3 | 93 | fn sign(signer: &Public, message: &[u8]) -> Signature; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L576
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:576:4 | 576 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L92
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:92:3 | 92 | fn signer() -> (Public, AccountId); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L575
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:575:4 | 575 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L91
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:91:3 | 91 | fn item(i: u16) -> ItemId; | ^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L90
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:90:3 | 90 | fn collection(i: u16) -> CollectionId; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L571
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:571:4 | 571 | buyer: T::AccountId, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: pallets/nfts/src/lib.rs#L89
warning: missing documentation for a trait --> pallets/nfts/src/lib.rs:89:2 | 89 | pub trait BenchmarkHelper<CollectionId, ItemId, Public, AccountId, Signature> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L570
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:570:4 | 570 | seller: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: pallets/nfts/src/types.rs#L569
warning: missing documentation for a struct --> pallets/nfts/src/types.rs:569:1 | 569 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L569
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:569:4 | 569 | price: ItemPrice<T, I>, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: pallets/nfts/src/types.rs#L551
warning: missing documentation for a struct --> pallets/nfts/src/types.rs:551:1 | 551 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L568
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:568:4 | 568 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L543
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:543:2 | 543 | pub fn max_roles() -> u8 { | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L567
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:567:4 | 567 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L539
warning: missing documentation for a method --> pallets/nfts/src/types.rs:539:2 | 539 | pub fn add_role(&mut self, role: CollectionRole) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L564
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:564:51 | 564 | ItemPriceRemoved { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L535
warning: missing documentation for a method --> pallets/nfts/src/types.rs:535:2 | 535 | pub fn has_role(&self, role: CollectionRole) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L564
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:564:22 | 564 | ItemPriceRemoved { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L531
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:531:2 | 531 | pub fn none() -> Self { | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L561
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:561:4 | 561 | whitelisted_buyer: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L507
warning: missing documentation for a method --> pallets/nfts/src/types.rs:507:2 | 507 | pub fn is_enabled(&self, feature: PalletFeature) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L560
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:560:4 | 560 | price: ItemPrice<T, I>, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L503
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:503:2 | 503 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L559
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:559:4 | 559 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L499
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:499:2 | 499 | pub fn all_enabled() -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L558
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:558:4 | 558 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L474
warning: missing documentation for a method --> pallets/nfts/src/types.rs:474:2 | 474 | pub fn disable_setting(&mut self, setting: ItemSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L555
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:555:33 | 555 | NextCollectionIdIncremented { next_id: Option<T::CollectionId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L470
warning: missing documentation for a method --> pallets/nfts/src/types.rs:470:2 | 470 | pub fn enable_setting(&mut self, setting: ItemSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L553
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:553:35 | 553 | CollectionMintSettingsUpdated { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L466
warning: missing documentation for a method --> pallets/nfts/src/types.rs:466:2 | 466 | pub fn has_disabled_settings(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L462
warning: missing documentation for a method --> pallets/nfts/src/types.rs:462:2 | 462 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L551
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:551:57 | 551 | CollectionMaxSupplySet { collection: T::CollectionId, max_supply: u32 }, | ^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L458
warning: missing documentation for a method --> pallets/nfts/src/types.rs:458:2 | 458 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L551
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:551:28 | 551 | CollectionMaxSupplySet { collection: T::CollectionId, max_supply: u32 }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L441
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:441:2 | 441 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L549
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:549:51 | 549 | OwnershipAcceptanceChanged { who: T::AccountId, maybe_collection: Option<T::CollectionId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L437
warning: missing documentation for a method --> pallets/nfts/src/types.rs:437:2 | 437 | pub fn is_disabled(&self, setting: ItemSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L549
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:549:32 | 549 | OwnershipAcceptanceChanged { who: T::AccountId, maybe_collection: Option<T::CollectionId> }, | ^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L433
warning: missing documentation for a method --> pallets/nfts/src/types.rs:433:2 | 433 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L546
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:546:4 | 546 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L429
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:429:2 | 429 | pub fn all_enabled() -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L545
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:545:4 | 545 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L406
warning: missing documentation for a method --> pallets/nfts/src/types.rs:406:2 | 406 | pub fn disable_setting(&mut self, setting: CollectionSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L544
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:544:4 | 544 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L402
warning: missing documentation for a method --> pallets/nfts/src/types.rs:402:2 | 402 | pub fn enable_setting(&mut self, setting: CollectionSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L540
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:540:4 | 540 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L398
warning: missing documentation for a method --> pallets/nfts/src/types.rs:398:2 | 398 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L539
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:539:4 | 539 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L394
warning: missing documentation for a method --> pallets/nfts/src/types.rs:394:2 | 394 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L538
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:538:4 | 538 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L302
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:302:2 | 302 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L298
warning: missing documentation for a method --> pallets/nfts/src/types.rs:298:2 | 298 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L534
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:534:4 | 534 | namespace: AttributeNamespace<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L294
warning: missing documentation for a method --> pallets/nfts/src/types.rs:294:2 | 294 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L290
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:290:2 | 290 | pub fn all_enabled() -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L136
warning: missing documentation for a method --> pallets/nfts/src/types.rs:136:2 | 136 | pub fn destroy_witness(&self) -> DestroyWitness { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/features/approvals.rs#L244
warning: missing documentation for an associated function --> pallets/nfts/src/features/approvals.rs:244:2 | 244 | / pub fn check_allowance( 245 | | collection: &T::CollectionId, 246 | | item: &Option<T::ItemId>, 247 | | owner: &T::AccountId, 248 | | delegate: &T::AccountId, 249 | | ) -> Result<(), DispatchError> { | |__________________________________^
missing documentation for an associated function: pallets/nfts/src/common_functions.rs#L91
warning: missing documentation for an associated function --> pallets/nfts/src/common_functions.rs:91:2 | 91 | pub fn set_next_id(id: T::CollectionId) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: pallets/nfts/src/lib.rs#L47
warning: missing documentation for a module --> pallets/nfts/src/lib.rs:47:1 | 47 | pub mod macros; | ^^^^^^^^^^^^^^ | = note: requested on the command line with `-W missing-docs`
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1125
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1125:39 | 1125 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1125
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1125:26 | 1125 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
`if` chain can be rewritten with `match`: pallets/nfts/src/lib.rs#L1113
warning: `if` chain can be rewritten with `match` --> pallets/nfts/src/lib.rs:1113:5 | 1113 | / if old > deposit { 1114 | | T::Currency::unreserve(&details.deposit.account, old - deposit); 1115 | | } else if deposit > old { 1116 | | if T::Currency::reserve(&details.deposit.account, deposit - old).is_err() { ... | 1122 | | continue; 1123 | | } | |_________________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain
missing documentation for a struct field: pallets/nfts/src/lib.rs#L533
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:533:4 | 533 | key: BoundedVec<u8, T::KeyLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L532
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:532:4 | 532 | maybe_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L531
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:531:4 | 531 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L527
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:527:4 | 527 | namespace: AttributeNamespace<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L526
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:526:4 | 526 | value: BoundedVec<u8, T::ValueLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1108
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1108:60 | 1108 | let mut details = match Item::<T, I>::get(&collection, &item) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L525
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:525:4 | 525 | key: BoundedVec<u8, T::KeyLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1108
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1108:47 | 1108 | let mut details = match Item::<T, I>::get(&collection, &item) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L524
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:524:4 | 524 | maybe_item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L523
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:523:4 | 523 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1097
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1097:29 | 1097 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L520
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:520:46 | 520 | Redeposited { collection: T::CollectionId, successful_items: Vec<T::ItemId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L424
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:424:44 | 424 | Self::has_system_attribute(&collection, &item, PalletAttributes::TransferDisabled)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for a struct field: pallets/nfts/src/lib.rs#L520
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:520:17 | 520 | Redeposited { collection: T::CollectionId, successful_items: Vec<T::ItemId> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L424
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:424:31 | 424 | Self::has_system_attribute(&collection, &item, PalletAttributes::TransferDisabled)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for a struct field: pallets/nfts/src/lib.rs#L518
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:518:54 | 518 | ItemMetadataCleared { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
match expression looks like `matches!` macro: pallets/nfts/src/impl_nonfungibles.rs#L127
warning: match expression looks like `matches!` macro --> pallets/nfts/src/impl_nonfungibles.rs:127:3 | 127 | / match ( 128 | | CollectionConfigOf::<T, I>::get(collection), 129 | | ItemConfigOf::<T, I>::get(collection, item), 130 | | ) { ... | 135 | | _ => false, 136 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro = note: `#[warn(clippy::match_like_matches_macro)]` on by default help: try | 127 ~ matches!(( 128 ~ CollectionConfigOf::<T, I>::get(collection), 129 ~ ItemConfigOf::<T, I>::get(collection, item), 130 ~ ), (Some(cc), Some(ic)) if cc.is_setting_enabled(CollectionSetting::TransferableItems) && 131 ~ ic.is_setting_enabled(ItemSetting::Transferable)) |
missing documentation for a struct field: pallets/nfts/src/lib.rs#L518
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:518:25 | 518 | ItemMetadataCleared { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L515
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:515:4 | 515 | data: BoundedVec<u8, T::StringLimit>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L123
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:123:49 | 123 | match Self::has_system_attribute(&collection, &item, TransferDisabled) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for a struct field: pallets/nfts/src/lib.rs#L514
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:514:4 | 514 | item: T::ItemId, | ^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L123
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:123:36 | 123 | match Self::has_system_attribute(&collection, &item, TransferDisabled) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for a struct field: pallets/nfts/src/lib.rs#L513
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:513:4 | 513 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L247
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:247:46 | 247 | CollectionAccount::<T, I>::insert(&owner, &collection, ()); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L510
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:510:31 | 510 | CollectionMetadataCleared { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L508
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:508:56 | 508 | CollectionMetadataSet { collection: T::CollectionId, data: BoundedVec<u8, T::StringLimit> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L246
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:246:54 | 246 | CollectionAccount::<T, I>::remove(&details.owner, &collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L508
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:508:27 | 508 | CollectionMetadataSet { collection: T::CollectionId, data: BoundedVec<u8, T::StringLimit> }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L172
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:172:50 | 172 | CollectionAccount::<T, I>::insert(&new_owner, &collection, ()); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L506
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:506:29 | 506 | CollectionConfigChanged { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L171
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:171:54 | 171 | CollectionAccount::<T, I>::remove(&details.owner, &collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L504
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:504:73 | 504 | AllApprovalsCancelled { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L123
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:123:46 | 123 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L504
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:504:56 | 504 | AllApprovalsCancelled { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L123
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:123:33 | 123 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L504
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:504:27 | 504 | AllApprovalsCancelled { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L501
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:501:4 | 501 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L122
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:122:44 | 122 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L500
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:500:4 | 500 | owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L122
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:122:31 | 122 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L499
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:499:4 | 499 | item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:121:30 | 121 | Collection::<T, I>::insert(&collection, &collection_details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L498
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:498:4 | 498 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L493
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:493:4 | 493 | deadline: Option<BlockNumberFor<T>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L120
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:120:37 | 120 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L492
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:492:4 | 492 | delegate: T::AccountId, | ^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L120
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:120:24 | 120 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L491
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:491:4 | 491 | owner: T::AccountId, | ^^^^^^^^^^^^^^^^^^^
using `clone` on type `u32` which implements the `Copy` trait: pallets/nfts/src/features/transfer.rs#L102
warning: using `clone` on type `u32` which implements the `Copy` trait --> pallets/nfts/src/features/transfer.rs:102:4 | 102 | balance.clone() | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*balance` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
missing documentation for a struct field: pallets/nfts/src/lib.rs#L490
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:490:4 | 490 | item: Option<T::ItemId>, | ^^^^^^^^^^^^^^^^^^^^^^^
using `clone` on type `u32` which implements the `Copy` trait: pallets/nfts/src/features/transfer.rs#L94
warning: using `clone` on type `u32` which implements the `Copy` trait --> pallets/nfts/src/features/transfer.rs:94:5 | 94 | balance.clone() | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*balance` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
missing documentation for a struct field: pallets/nfts/src/lib.rs#L489
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:489:4 | 489 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:85:35 | 85 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L484
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:484:4 | 484 | freezer: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:85:22 | 85 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L483
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:483:4 | 483 | admin: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L58
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:58:28 | 58 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L482
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:482:4 | 482 | issuer: Option<T::AccountId>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unneeded `return` statement: pallets/nfts/src/features/settings.rs#L177
warning: unneeded `return` statement --> pallets/nfts/src/features/settings.rs:177:3 | 177 | return features.is_enabled(feature) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 177 | features.is_enabled(feature) |
missing documentation for a struct field: pallets/nfts/src/lib.rs#L481
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:481:4 | 481 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L478
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:478:47 | 478 | OwnerChanged { collection: T::CollectionId, new_owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L148
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:148:58 | 148 | let config = ItemConfigOf::<T, I>::get(&collection_id, &item_id) | ^^^^^^^^ help: change this to: `item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L478
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:478:18 | 478 | OwnerChanged { collection: T::CollectionId, new_owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L148
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:148:42 | 148 | let config = ItemConfigOf::<T, I>::get(&collection_id, &item_id) | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L476
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:476:22 | 476 | CollectionLocked { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L132
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:132:36 | 132 | CollectionConfigOf::<T, I>::get(&collection_id).ok_or(Error::<T, I>::NoConfig)?; | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L473
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:473:4 | 473 | lock_attributes: bool, | ^^^^^^^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/settings.rs#L108
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/settings.rs:108:33 | 108 | Self::has_role(&collection, &check_origin, CollectionRole::Issuer), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for a struct field: pallets/nfts/src/lib.rs#L472
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:472:4 | 472 | lock_metadata: bool, | ^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L70
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:70:28 | 70 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L471
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:471:4 | 471 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L470
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:470:4 | 470 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L37
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:37:38 | 37 | CollectionConfigOf::<T, I>::insert(&collection, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L467
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:467:55 | 467 | ItemTransferUnlocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L36
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:36:44 | 36 | ensure!(Collection::<T, I>::contains_key(&collection), Error::<T, I>::UnknownCollection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L467
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:467:26 | 467 | ItemTransferUnlocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L135
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:135:41 | 135 | CollectionRoleOf::<T, I>::iter_prefix(&collection_id).into_iter().find_map( | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L465
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:465:53 | 465 | ItemTransferLocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^
useless conversion to the same type: `frame_support::storage::PrefixIterator<(<T as frame_system::Config>::AccountId, types::CollectionRoles)>`: pallets/nfts/src/features/roles.rs#L135
warning: useless conversion to the same type: `frame_support::storage::PrefixIterator<(<T as frame_system::Config>::AccountId, types::CollectionRoles)>` --> pallets/nfts/src/features/roles.rs:135:3 | 135 | CollectionRoleOf::<T, I>::iter_prefix(&collection_id).into_iter().find_map( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `CollectionRoleOf::<T, I>::iter_prefix(&collection_id)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
missing documentation for a struct field: pallets/nfts/src/lib.rs#L465
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:465:24 | 465 | ItemTransferLocked { collection: T::CollectionId, item: T::ItemId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:121:49 | 121 | CollectionRoleOf::<T, I>::get(&collection_id, &account_id) | ^^^^^^^^^^^ help: change this to: `account_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L463
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:463:58 | 463 | Burned { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L463
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:463:41 | 463 | Burned { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:121:33 | 121 | CollectionRoleOf::<T, I>::get(&collection_id, &account_id) | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L463
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:463:12 | 463 | Burned { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L101
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:101:4 | 101 | &collection_id, | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L460
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:460:4 | 460 | to: T::AccountId, | ^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L84
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:84:38 | 84 | CollectionRoleOf::<T, I>::insert(&collection, &account, roles); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L267
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:267:31 | 267 | Collection::<T, I>::insert(&collection, details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L254
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:254:28 | 254 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L248
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:248:33 | 248 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L220
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:220:31 | 220 | Collection::<T, I>::insert(&collection, details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
`if` chain can be rewritten with `match`: pallets/nfts/src/features/metadata.rs#L213
warning: `if` chain can be rewritten with `match` --> pallets/nfts/src/features/metadata.rs:213:4 | 213 | / if deposit > old_deposit { 214 | | T::Currency::reserve(&details.owner, deposit - old_deposit)?; 215 | | } else if deposit < old_deposit { 216 | | T::Currency::unreserve(&details.owner, old_deposit - deposit); 217 | | } | |_____________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain = note: `#[warn(clippy::comparison_chain)]` on by default
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L201
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:201:28 | 201 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L188
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:188:33 | 188 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L162
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:162:30 | 162 | Collection::<T, I>::insert(&collection, &collection_details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L144
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:144:28 | 144 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L135
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:135:33 | 135 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L109
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:109:31 | 109 | Collection::<T, I>::insert(&collection, &collection_details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L60
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:60:28 | 60 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a struct field: pallets/nfts/src/lib.rs#L459
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:459:4 | 459 | from: T::AccountId, | ^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L458
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:458:4 | 458 | item: T::ItemId, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L457
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:457:4 | 457 | collection: T::CollectionId, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L454
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:454:58 | 454 | Issued { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L454
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:454:41 | 454 | Issued { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L454
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:454:12 | 454 | Issued { collection: T::CollectionId, item: T::ItemId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L452
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:452:15 | 452 | Destroyed { collection: T::CollectionId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L450
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:450:47 | 450 | ForceCreated { collection: T::CollectionId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L450
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:450:18 | 450 | ForceCreated { collection: T::CollectionId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L448
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:448:65 | 448 | Created { collection: T::CollectionId, creator: T::AccountId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L448
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:448:42 | 448 | Created { collection: T::CollectionId, creator: T::AccountId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: pallets/nfts/src/lib.rs#L448
warning: missing documentation for a struct field --> pallets/nfts/src/lib.rs:448:13 | 448 | Created { collection: T::CollectionId, creator: T::AccountId, owner: T::AccountId }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L93
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:93:3 | 93 | fn sign(signer: &Public, message: &[u8]) -> Signature; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L92
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:92:3 | 92 | fn signer() -> (Public, AccountId); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L91
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:91:3 | 91 | fn item(i: u16) -> ItemId; | ^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/lib.rs#L90
warning: missing documentation for an associated function --> pallets/nfts/src/lib.rs:90:3 | 90 | fn collection(i: u16) -> CollectionId; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: pallets/nfts/src/lib.rs#L89
warning: missing documentation for a trait --> pallets/nfts/src/lib.rs:89:2 | 89 | pub trait BenchmarkHelper<CollectionId, ItemId, Public, AccountId, Signature> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: pallets/nfts/src/types.rs#L569
warning: missing documentation for a struct --> pallets/nfts/src/types.rs:569:1 | 569 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: pallets/nfts/src/types.rs#L551
warning: missing documentation for a struct --> pallets/nfts/src/types.rs:551:1 | 551 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L543
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:543:2 | 543 | pub fn max_roles() -> u8 { | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L539
warning: missing documentation for a method --> pallets/nfts/src/types.rs:539:2 | 539 | pub fn add_role(&mut self, role: CollectionRole) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L535
warning: missing documentation for a method --> pallets/nfts/src/types.rs:535:2 | 535 | pub fn has_role(&self, role: CollectionRole) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L53
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:53:33 | 53 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for an associated function: pallets/nfts/src/types.rs#L531
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:531:2 | 531 | pub fn none() -> Self { | ^^^^^^^^^^^^^^^^^^^^^
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/lock.rs#L143
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/lock.rs:143:33 | 143 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
missing documentation for a method: pallets/nfts/src/types.rs#L507
warning: missing documentation for a method --> pallets/nfts/src/types.rs:507:2 | 507 | pub fn is_enabled(&self, feature: PalletFeature) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L503
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:503:2 | 503 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L113
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:113:45 | 113 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for an associated function: pallets/nfts/src/types.rs#L499
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:499:2 | 499 | pub fn all_enabled() -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L113
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:113:32 | 113 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L474
warning: missing documentation for a method --> pallets/nfts/src/types.rs:474:2 | 474 | pub fn disable_setting(&mut self, setting: ItemSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L83
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:83:45 | 83 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L470
warning: missing documentation for a method --> pallets/nfts/src/types.rs:470:2 | 470 | pub fn enable_setting(&mut self, setting: ItemSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L83
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:83:32 | 83 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L466
warning: missing documentation for a method --> pallets/nfts/src/types.rs:466:2 | 466 | pub fn has_disabled_settings(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L284
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:284:46 | 284 | ItemConfigOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L462
warning: missing documentation for a method --> pallets/nfts/src/types.rs:462:2 | 462 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L284
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:284:33 | 284 | ItemConfigOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L458
warning: missing documentation for a method --> pallets/nfts/src/types.rs:458:2 | 458 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated function: pallets/nfts/src/types.rs#L441
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:441:2 | 441 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L278
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:278:58 | 278 | ItemAttributesApprovalsOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L437
warning: missing documentation for a method --> pallets/nfts/src/types.rs:437:2 | 437 | pub fn is_disabled(&self, setting: ItemSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L278
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:278:45 | 278 | ItemAttributesApprovalsOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L433
warning: missing documentation for a method --> pallets/nfts/src/types.rs:433:2 | 433 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L277
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:277:46 | 277 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for an associated function: pallets/nfts/src/types.rs#L429
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:429:2 | 429 | pub fn all_enabled() -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L277
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:277:33 | 277 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L406
warning: missing documentation for a method --> pallets/nfts/src/types.rs:406:2 | 406 | pub fn disable_setting(&mut self, setting: CollectionSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L276
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:276:44 | 276 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L402
warning: missing documentation for a method --> pallets/nfts/src/types.rs:402:2 | 402 | pub fn enable_setting(&mut self, setting: CollectionSetting) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L276
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:276:31 | 276 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L398
warning: missing documentation for a method --> pallets/nfts/src/types.rs:398:2 | 398 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L394
warning: missing documentation for a method --> pallets/nfts/src/types.rs:394:2 | 394 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L274
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:274:37 | 274 | Item::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L274
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:274:24 | 274 | Item::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for an associated function: pallets/nfts/src/types.rs#L302
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:302:2 | 302 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: pallets/nfts/src/types.rs#L298
warning: missing documentation for a method --> pallets/nfts/src/types.rs:298:2 | 298 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L251
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:251:72 | 251 | if let Some(metadata) = ItemMetadataOf::<T, I>::take(&collection, &item) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L294
warning: missing documentation for a method --> pallets/nfts/src/types.rs:294:2 | 294 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L251
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:251:59 | 251 | if let Some(metadata) = ItemMetadataOf::<T, I>::take(&collection, &item) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for an associated function: pallets/nfts/src/types.rs#L290
warning: missing documentation for an associated function --> pallets/nfts/src/types.rs:290:2 | 290 | pub fn all_enabled() -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L237
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:237:50 | 237 | let details = Item::<T, I>::get(&collection, &item) | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a method: pallets/nfts/src/types.rs#L136
warning: missing documentation for a method --> pallets/nfts/src/types.rs:136:2 | 136 | pub fn destroy_witness(&self) -> DestroyWitness { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L237
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:237:37 | 237 | let details = Item::<T, I>::get(&collection, &item) | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for an associated function: pallets/nfts/src/features/approvals.rs#L244
warning: missing documentation for an associated function --> pallets/nfts/src/features/approvals.rs:244:2 | 244 | / pub fn check_allowance( 245 | | collection: &T::CollectionId, 246 | | item: &Option<T::ItemId>, 247 | | owner: &T::AccountId, 248 | | delegate: &T::AccountId, 249 | | ) -> Result<(), DispatchError> { | |__________________________________^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L233
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:233:4 | 233 | &collection, | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for an associated function: pallets/nfts/src/common_functions.rs#L91
warning: missing documentation for an associated function --> pallets/nfts/src/common_functions.rs:91:2 | 91 | pub fn set_next_id(id: T::CollectionId) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L112
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:112:39 | 112 | Item::<T, I>::insert(&collection, &item, details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
missing documentation for a module: pallets/nfts/src/lib.rs#L47
warning: missing documentation for a module --> pallets/nfts/src/lib.rs:47:1 | 47 | pub mod macros; | ^^^^^^^^^^^^^^ | = note: requested on the command line with `-W missing-docs`
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L112
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:112:26 | 112 | Item::<T, I>::insert(&collection, &item, details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1125
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1125:39 | 1125 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1125
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1125:26 | 1125 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L100
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:100:48 | 100 | ItemConfigOf::<T, I>::insert(&collection, &item, item_config); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
`if` chain can be rewritten with `match`: pallets/nfts/src/lib.rs#L1113
warning: `if` chain can be rewritten with `match` --> pallets/nfts/src/lib.rs:1113:5 | 1113 | / if old > deposit { 1114 | | T::Currency::unreserve(&details.deposit.account, old - deposit); 1115 | | } else if deposit > old { 1116 | | if T::Currency::reserve(&details.deposit.account, deposit - old).is_err() { ... | 1122 | | continue; 1123 | | } | |_________________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L100
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:100:35 | 100 | ItemConfigOf::<T, I>::insert(&collection, &item, item_config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L97
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:97:77 | 97 | if let Ok(existing_config) = ItemConfigOf::<T, I>::try_get(&collection, &item) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L97
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:97:64 | 97 | if let Ok(existing_config) = ItemConfigOf::<T, I>::try_get(&collection, &item) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
using `clone` on type `u32` which implements the `Copy` trait: pallets/nfts/src/features/create_delete_item.rs#L76
warning: using `clone` on type `u32` which implements the `Copy` trait --> pallets/nfts/src/features/create_delete_item.rs:76:7 | 76 | balance.clone() | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*balance` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L59
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:59:4 | 59 | &collection, | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L153
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:153:47 | 153 | let _ = ItemConfigOf::<T, I>::clear_prefix(&collection, witness.item_configs, None); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L152
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:152:39 | 152 | CollectionConfigOf::<T, I>::remove(&collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L150
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:150:65 | 150 | CollectionAccount::<T, I>::remove(&collection_details.owner, &collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L136
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:136:41 | 136 | CollectionMetadataOf::<T, I>::remove(&collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L130
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:130:62 | 130 | for (_, metadata) in ItemMetadataOf::<T, I>::drain_prefix(&collection) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L71
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:71:45 | 71 | CollectionAccount::<T, I>::insert(&owner, &collection, ()); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L70
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:70:38 | 70 | CollectionConfigOf::<T, I>::insert(&collection, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L144
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:144:42 | 144 | ItemPriceOf::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::NotForSale)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L144
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:144:29 | 144 | ItemPriceOf::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::NotForSale)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L140
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:140:48 | 140 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L140
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:140:35 | 140 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L109
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:109:45 | 109 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L109
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:109:32 | 109 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L101
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:101:45 | 101 | ItemPriceOf::<T, I>::insert(&collection, &item, (price, whitelisted_buyer.clone())); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L101
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:101:32 | 101 | ItemPriceOf::<T, I>::insert(&collection, &item, (price, whitelisted_buyer.clone())); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:85:48 | 85 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:85:35 | 85 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L476
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:476:58 | 476 | result = account_id == origin && approvals.contains(&origin) | ^^^^^^^ help: change this to: `origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L475
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:475:74 | 475 | let approvals = ItemAttributesApprovalsOf::<T, I>::get(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L475
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:475:61 | 475 | let approvals = ItemAttributesApprovalsOf::<T, I>::get(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L470
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:470:38 | 470 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1108
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1108:60 | 1108 | let mut details = match Item::<T, I>::get(&collection, &item) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1108
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1108:47 | 1108 | let mut details = match Item::<T, I>::get(&collection, &item) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/lib.rs#L1097
warning: the borrowed expression implements the required traits --> pallets/nfts/src/lib.rs:1097:29 | 1097 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L424
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:424:44 | 424 | Self::has_system_attribute(&collection, &item, PalletAttributes::TransferDisabled)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L424
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:424:31 | 424 | Self::has_system_attribute(&collection, &item, PalletAttributes::TransferDisabled)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
match expression looks like `matches!` macro: pallets/nfts/src/impl_nonfungibles.rs#L127
warning: match expression looks like `matches!` macro --> pallets/nfts/src/impl_nonfungibles.rs:127:3 | 127 | / match ( 128 | | CollectionConfigOf::<T, I>::get(collection), 129 | | ItemConfigOf::<T, I>::get(collection, item), 130 | | ) { ... | 135 | | _ => false, 136 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro = note: `#[warn(clippy::match_like_matches_macro)]` on by default help: try | 127 ~ matches!(( 128 ~ CollectionConfigOf::<T, I>::get(collection), 129 ~ ItemConfigOf::<T, I>::get(collection, item), 130 ~ ), (Some(cc), Some(ic)) if cc.is_setting_enabled(CollectionSetting::TransferableItems) && 131 ~ ic.is_setting_enabled(ItemSetting::Transferable)) |
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L123
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:123:49 | 123 | match Self::has_system_attribute(&collection, &item, TransferDisabled) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/impl_nonfungibles.rs#L123
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/impl_nonfungibles.rs:123:36 | 123 | match Self::has_system_attribute(&collection, &item, TransferDisabled) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L247
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:247:46 | 247 | CollectionAccount::<T, I>::insert(&owner, &collection, ()); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L246
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:246:54 | 246 | CollectionAccount::<T, I>::remove(&details.owner, &collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L172
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:172:50 | 172 | CollectionAccount::<T, I>::insert(&new_owner, &collection, ()); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L171
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:171:54 | 171 | CollectionAccount::<T, I>::remove(&details.owner, &collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L123
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:123:46 | 123 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L123
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:123:33 | 123 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L122
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:122:44 | 122 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L122
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:122:31 | 122 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:121:30 | 121 | Collection::<T, I>::insert(&collection, &collection_details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L120
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:120:37 | 120 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L120
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:120:24 | 120 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
using `clone` on type `u32` which implements the `Copy` trait: pallets/nfts/src/features/transfer.rs#L102
warning: using `clone` on type `u32` which implements the `Copy` trait --> pallets/nfts/src/features/transfer.rs:102:4 | 102 | balance.clone() | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*balance` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
using `clone` on type `u32` which implements the `Copy` trait: pallets/nfts/src/features/transfer.rs#L94
warning: using `clone` on type `u32` which implements the `Copy` trait --> pallets/nfts/src/features/transfer.rs:94:5 | 94 | balance.clone() | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*balance` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:85:35 | 85 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:85:22 | 85 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/transfer.rs#L58
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/transfer.rs:58:28 | 58 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
unneeded `return` statement: pallets/nfts/src/features/settings.rs#L177
warning: unneeded `return` statement --> pallets/nfts/src/features/settings.rs:177:3 | 177 | return features.is_enabled(feature) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 177 | features.is_enabled(feature) |
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L148
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:148:58 | 148 | let config = ItemConfigOf::<T, I>::get(&collection_id, &item_id) | ^^^^^^^^ help: change this to: `item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L148
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:148:42 | 148 | let config = ItemConfigOf::<T, I>::get(&collection_id, &item_id) | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L132
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:132:36 | 132 | CollectionConfigOf::<T, I>::get(&collection_id).ok_or(Error::<T, I>::NoConfig)?; | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/settings.rs#L108
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/settings.rs:108:33 | 108 | Self::has_role(&collection, &check_origin, CollectionRole::Issuer), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L70
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:70:28 | 70 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L37
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:37:38 | 37 | CollectionConfigOf::<T, I>::insert(&collection, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/settings.rs#L36
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/settings.rs:36:44 | 36 | ensure!(Collection::<T, I>::contains_key(&collection), Error::<T, I>::UnknownCollection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L135
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:135:41 | 135 | CollectionRoleOf::<T, I>::iter_prefix(&collection_id).into_iter().find_map( | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
useless conversion to the same type: `frame_support::storage::PrefixIterator<(<T as frame_system::Config>::AccountId, types::CollectionRoles)>`: pallets/nfts/src/features/roles.rs#L135
warning: useless conversion to the same type: `frame_support::storage::PrefixIterator<(<T as frame_system::Config>::AccountId, types::CollectionRoles)>` --> pallets/nfts/src/features/roles.rs:135:3 | 135 | CollectionRoleOf::<T, I>::iter_prefix(&collection_id).into_iter().find_map( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `CollectionRoleOf::<T, I>::iter_prefix(&collection_id)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:121:49 | 121 | CollectionRoleOf::<T, I>::get(&collection_id, &account_id) | ^^^^^^^^^^^ help: change this to: `account_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:121:33 | 121 | CollectionRoleOf::<T, I>::get(&collection_id, &account_id) | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L101
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:101:4 | 101 | &collection_id, | ^^^^^^^^^^^^^^ help: change this to: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/roles.rs#L84
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/roles.rs:84:38 | 84 | CollectionRoleOf::<T, I>::insert(&collection, &account, roles); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L267
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:267:31 | 267 | Collection::<T, I>::insert(&collection, details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L470
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:470:25 | 470 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L254
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:254:28 | 254 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L466
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:466:42 | 466 | result = Self::has_role(&collection, &origin, CollectionRole::Admin), | ^^^^^^^ help: change this to: `origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L248
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:248:33 | 248 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L466
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:466:29 | 466 | result = Self::has_role(&collection, &origin, CollectionRole::Admin), | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L220
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:220:31 | 220 | Collection::<T, I>::insert(&collection, details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
`if` chain can be rewritten with `match`: pallets/nfts/src/features/metadata.rs#L213
warning: `if` chain can be rewritten with `match` --> pallets/nfts/src/features/metadata.rs:213:4 | 213 | / if deposit > old_deposit { 214 | | T::Currency::reserve(&details.owner, deposit - old_deposit)?; 215 | | } else if deposit < old_deposit { 216 | | T::Currency::unreserve(&details.owner, old_deposit - deposit); 217 | | } | |_____________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain = note: `#[warn(clippy::comparison_chain)]` on by default
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L425
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:425:48 | 425 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L201
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:201:28 | 201 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L425
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:425:35 | 425 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L188
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:188:33 | 188 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L384
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:384:48 | 384 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L162
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:162:30 | 162 | Collection::<T, I>::insert(&collection, &collection_details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L384
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:384:35 | 384 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L144
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:144:28 | 144 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L341
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:341:28 | 341 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L135
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:135:33 | 135 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L109
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:109:31 | 109 | Collection::<T, I>::insert(&collection, &collection_details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L330
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:330:37 | 330 | ... Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/metadata.rs#L60
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/metadata.rs:60:28 | 60 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
you seem to be trying to use `match` for an equality check. Consider using `if`: pallets/nfts/src/features/attributes.rs#L307
warning: you seem to be trying to use `match` for an equality check. Consider using `if` --> pallets/nfts/src/features/attributes.rs:307:4 | 307 | / match namespace { 308 | | AttributeNamespace::CollectionOwner => match maybe_item { 309 | | None => { 310 | | let collection_config = Self::get_collection_config(&collection)?; ... | 336 | | _ => (), 337 | | }; | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match help: try | 307 ~ if namespace == AttributeNamespace::CollectionOwner { match maybe_item { 308 ~ None => { 309 ~ let collection_config = Self::get_collection_config(&collection)?; 310 ~ ensure!( 311 ~ collection_config 312 ~ .is_setting_enabled(CollectionSetting::UnlockedAttributes), 313 ~ Error::<T, I>::LockedCollectionAttributes 314 ~ ) 315 ~ }, 316 ~ Some(item) => { 317 ~ // NOTE: if the item was previously burned, the ItemConfigOf record 318 ~ // might not exist. In that case, we allow to clear the attribute. 319 ~ let maybe_is_locked = Self::get_item_config(&collection, &item) 320 ~ .map_or(None, |c| { 321 ~ Some(c.has_disabled_setting(ItemSetting::UnlockedAttributes)) 322 ~ }); 323 ~ if let Some(is_locked) = maybe_is_locked { 324 ~ ensure!(!is_locked, Error::<T, I>::LockedItemAttributes); 325 ~ // Only the collection's admin can clear attributes in that namespace. 326 ~ // e.g. in off-chain mints, the attribute's depositor will be the item's 327 ~ // owner, that's why we need to do this extra check. 328 ~ ensure!( 329 ~ Self::has_role(&collection, &check_origin, CollectionRole::Admin), 330 ~ Error::<T, I>::NoPermission 331 ~ ); 332 ~ } 333 ~ }, 334 ~ } }; |
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L301
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:301:31 | 301 | Self::is_valid_namespace(&check_origin, &namespace, &collection, &maybe_item)?, | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
doc list item without indentation: pallets/nfts/src/features/attributes.rs#L277
warning: doc list item without indentation --> pallets/nfts/src/features/attributes.rs:277:6 | 277 | /// clearing the attribute. This can be `None` if no additional check is required. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[warn(clippy::doc_lazy_continuation)]` on by default help: indent this line | 277 | /// clearing the attribute. This can be `None` if no additional check is required. | ++
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L242
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:242:73 | 242 | let approvals = ItemAttributesApprovalsOf::<T, I>::get(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L242
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:242:60 | 242 | let approvals = ItemAttributesApprovalsOf::<T, I>::get(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L233
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:233:35 | 233 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L233
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:233:22 | 233 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L186
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:186:28 | 186 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L90
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:90:28 | 90 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
you seem to be trying to use `match` for an equality check. Consider using `if`: pallets/nfts/src/features/attributes.rs#L72
warning: you seem to be trying to use `match` for an equality check. Consider using `if` --> pallets/nfts/src/features/attributes.rs:72:3 | 72 | / match namespace { 73 | | AttributeNamespace::CollectionOwner => match maybe_item { 74 | | None => { 75 | | ensure!( ... | 86 | | _ => (), 87 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 72 ~ if namespace == AttributeNamespace::CollectionOwner { match maybe_item { 73 ~ None => { 74 ~ ensure!( 75 ~ collection_config.is_setting_enabled(CollectionSetting::UnlockedAttributes), 76 ~ Error::<T, I>::LockedCollectionAttributes 77 ~ ) 78 ~ }, 79 ~ Some(item) => { 80 ~ let maybe_is_locked = Self::get_item_config(&collection, &item) 81 ~ .map(|c| c.has_disabled_setting(ItemSetting::UnlockedAttributes))?; 82 ~ ensure!(!maybe_is_locked, Error::<T, I>::LockedItemAttributes); 83 ~ }, 84 ~ } } |
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L179
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:179:65 | 179 | let swap = PendingSwapOf::<T, I>::get(&receive_collection_id, &receive_item_id) | ^^^^^^^^^^^^^^^^ help: change this to: `receive_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L179
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:179:41 | 179 | let swap = PendingSwapOf::<T, I>::get(&receive_collection_id, &receive_item_id) | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `receive_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L177
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:177:64 | 177 | let receive_item = Item::<T, I>::get(&receive_collection_id, &receive_item_id) | ^^^^^^^^^^^^^^^^ help: change this to: `receive_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L177
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:177:40 | 177 | let receive_item = Item::<T, I>::get(&receive_collection_id, &receive_item_id) | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `receive_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L175
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:175:58 | 175 | let send_item = Item::<T, I>::get(&send_collection_id, &send_item_id) | ^^^^^^^^^^^^^ help: change this to: `send_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L175
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:175:37 | 175 | let send_item = Item::<T, I>::get(&send_collection_id, &send_item_id) | ^^^^^^^^^^^^^^^^^^^ help: change this to: `send_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L131
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:131:57 | 131 | PendingSwapOf::<T, I>::remove(&offered_collection_id, &offered_item_id); | ^^^^^^^^^^^^^^^^ help: change this to: `offered_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L131
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:131:33 | 131 | PendingSwapOf::<T, I>::remove(&offered_collection_id, &offered_item_id); | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `offered_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L126
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:126:57 | 126 | let item = Item::<T, I>::get(&offered_collection_id, &offered_item_id) | ^^^^^^^^^^^^^^^^ help: change this to: `offered_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L126
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:126:33 | 126 | let item = Item::<T, I>::get(&offered_collection_id, &offered_item_id) | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `offered_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:121:65 | 121 | let swap = PendingSwapOf::<T, I>::get(&offered_collection_id, &offered_item_id) | ^^^^^^^^^^^^^^^^ help: change this to: `offered_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L121
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:121:41 | 121 | let swap = PendingSwapOf::<T, I>::get(&offered_collection_id, &offered_item_id) | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `offered_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:85:4 | 85 | &offered_item_id, | ^^^^^^^^^^^^^^^^ help: change this to: `offered_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L84
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:84:4 | 84 | &offered_collection_id, | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `offered_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L75
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:75:38 | 75 | Collection::<T, I>::contains_key(&desired_collection_id), | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `desired_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/metadata.rs#L53
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/metadata.rs:53:33 | 53 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L71
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:71:56 | 71 | Item::<T, I>::contains_key(&desired_collection_id, &desired_item_id), | ^^^^^^^^^^^^^^^^ help: change this to: `desired_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/lock.rs#L143
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/lock.rs:143:33 | 143 | Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L71
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:71:32 | 71 | Item::<T, I>::contains_key(&desired_collection_id, &desired_item_id), | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `desired_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L113
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:113:45 | 113 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L65
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:65:56 | 65 | let item = Item::<T, I>::get(&offered_collection_id, &offered_item_id) | ^^^^^^^^^^^^^^^^ help: change this to: `offered_item_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L113
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:113:32 | 113 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/atomic_swap.rs#L65
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/atomic_swap.rs:65:32 | 65 | let item = Item::<T, I>::get(&offered_collection_id, &offered_item_id) | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `offered_collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L83
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:83:45 | 83 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/approvals.rs#L262
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/approvals.rs:262:41 | 262 | let deadline = details.approvals.get(&delegate).ok_or(Error::<T, I>::NoPermission)?; | ^^^^^^^^^ help: change this to: `delegate` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/lock.rs#L83
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/lock.rs:83:32 | 83 | ItemConfigOf::<T, I>::insert(&collection, &item, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L260
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:260:36 | 260 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L284
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:284:46 | 284 | ItemConfigOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L260
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:260:23 | 260 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L284
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:284:33 | 284 | ItemConfigOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L278
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:278:58 | 278 | ItemAttributesApprovalsOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L253
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:253:36 | 253 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L278
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:278:45 | 278 | ItemAttributesApprovalsOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L253
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:253:23 | 253 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L277
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:277:46 | 277 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L230
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:230:4 | 230 | &collection, | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L277
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:277:33 | 277 | PendingSwapOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L199
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:199:4 | 199 | &collection, | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L276
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:276:44 | 276 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L163
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:163:37 | 163 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L276
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:276:31 | 276 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L163
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:163:24 | 163 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L274
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:274:37 | 274 | Item::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L156
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:156:35 | 156 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L274
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:274:24 | 274 | Item::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L156
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:156:22 | 156 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L251
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:251:72 | 251 | if let Some(metadata) = ItemMetadataOf::<T, I>::take(&collection, &item) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L251
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:251:59 | 251 | if let Some(metadata) = ItemMetadataOf::<T, I>::take(&collection, &item) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L237
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:237:50 | 237 | let details = Item::<T, I>::get(&collection, &item) | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L125
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:125:37 | 125 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L237
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:237:37 | 237 | let details = Item::<T, I>::get(&collection, &item) | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L233
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:233:4 | 233 | &collection, | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L112
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:112:39 | 112 | Item::<T, I>::insert(&collection, &item, details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L112
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:112:26 | 112 | Item::<T, I>::insert(&collection, &item, details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L100
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:100:48 | 100 | ItemConfigOf::<T, I>::insert(&collection, &item, item_config); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L100
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:100:35 | 100 | ItemConfigOf::<T, I>::insert(&collection, &item, item_config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L97
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:97:77 | 97 | if let Ok(existing_config) = ItemConfigOf::<T, I>::try_get(&collection, &item) { | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L97
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:97:64 | 97 | if let Ok(existing_config) = ItemConfigOf::<T, I>::try_get(&collection, &item) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
using `clone` on type `u32` which implements the `Copy` trait: pallets/nfts/src/features/create_delete_item.rs#L76
warning: using `clone` on type `u32` which implements the `Copy` trait --> pallets/nfts/src/features/create_delete_item.rs:76:7 | 76 | balance.clone() | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*balance` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_item.rs#L59
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_item.rs:59:4 | 59 | &collection, | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L153
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:153:47 | 153 | let _ = ItemConfigOf::<T, I>::clear_prefix(&collection, witness.item_configs, None); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L152
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:152:39 | 152 | CollectionConfigOf::<T, I>::remove(&collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L150
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:150:65 | 150 | CollectionAccount::<T, I>::remove(&collection_details.owner, &collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L136
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:136:41 | 136 | CollectionMetadataOf::<T, I>::remove(&collection); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L130
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:130:62 | 130 | for (_, metadata) in ItemMetadataOf::<T, I>::drain_prefix(&collection) { | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L71
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:71:45 | 71 | CollectionAccount::<T, I>::insert(&owner, &collection, ()); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/create_delete_collection.rs#L70
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/create_delete_collection.rs:70:38 | 70 | CollectionConfigOf::<T, I>::insert(&collection, config); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L144
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:144:42 | 144 | ItemPriceOf::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::NotForSale)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L144
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:144:29 | 144 | ItemPriceOf::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::NotForSale)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L140
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:140:48 | 140 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L140
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:140:35 | 140 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L109
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:109:45 | 109 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L109
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:109:32 | 109 | ItemPriceOf::<T, I>::remove(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L101
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:101:45 | 101 | ItemPriceOf::<T, I>::insert(&collection, &item, (price, whitelisted_buyer.clone())); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L101
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:101:32 | 101 | ItemPriceOf::<T, I>::insert(&collection, &item, (price, whitelisted_buyer.clone())); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:85:48 | 85 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/buy_sell.rs#L85
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/buy_sell.rs:85:35 | 85 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L476
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:476:58 | 476 | result = account_id == origin && approvals.contains(&origin) | ^^^^^^^ help: change this to: `origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L475
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:475:74 | 475 | let approvals = ItemAttributesApprovalsOf::<T, I>::get(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L475
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:475:61 | 475 | let approvals = ItemAttributesApprovalsOf::<T, I>::get(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L470
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:470:38 | 470 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L125
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:125:24 | 125 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L107
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:107:35 | 107 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L107
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:107:22 | 107 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L75
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:75:37 | 75 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L75
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:75:24 | 75 | Item::<T, I>::insert(&collection, &item, &details); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L57
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:57:35 | 57 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/approvals.rs#L57
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/approvals.rs:57:22 | 57 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/common_functions.rs#L79
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/common_functions.rs:79:39 | 79 | ensure!(signature.verify(&*wrapped, &signer), Error::<T, I>::WrongSignature); | ^^^^^^^ help: change this to: `signer` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L470
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:470:25 | 470 | Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/common_functions.rs#L66
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/common_functions.rs:66:32 | 66 | if signature.verify(&**data, &signer) { | ^^^^^^^ help: change this to: `signer` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L466
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:466:42 | 466 | result = Self::has_role(&collection, &origin, CollectionRole::Admin), | ^^^^^^^ help: change this to: `origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
useless conversion to the same type: `<T as pallet::Config<I>>::OffchainSignature`: pallets/nfts/src/benchmarking.rs#L917
warning: useless conversion to the same type: `<T as pallet::Config<I>>::OffchainSignature` --> pallets/nfts/src/benchmarking.rs:917:66 | 917 | }: _(SystemOrigin::Signed(item_owner.clone()), pre_signed_data, signature.into(), signer.clone()) | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `signature` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L466
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:466:29 | 466 | result = Self::has_role(&collection, &origin, CollectionRole::Admin), | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
casting to the same type is unnecessary (`u32` -> `u32`): pallets/nfts/src/benchmarking.rs#L881
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> pallets/nfts/src/benchmarking.rs:881:17 | 881 | let n in 0 .. T::MaxAttributesPerCall::get() as u32; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `T::MaxAttributesPerCall::get()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L425
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:425:48 | 425 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
useless conversion to the same type: `<T as pallet::Config<I>>::OffchainSignature`: pallets/nfts/src/benchmarking.rs#L874
warning: useless conversion to the same type: `<T as pallet::Config<I>>::OffchainSignature` --> pallets/nfts/src/benchmarking.rs:874:66 | 874 | }: _(SystemOrigin::Signed(target.clone()), Box::new(mint_data), signature.into(), caller) | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `signature` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L425
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:425:35 | 425 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L384
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:384:48 | 384 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
casting to the same type is unnecessary (`u32` -> `u32`): pallets/nfts/src/benchmarking.rs#L839
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> pallets/nfts/src/benchmarking.rs:839:17 | 839 | let n in 0 .. T::MaxAttributesPerCall::get() as u32; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `T::MaxAttributesPerCall::get()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L384
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:384:35 | 384 | let details = Item::<T, I>::get(&collection, &item).ok_or(Error::<T, I>::UnknownItem)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
casting to the same type is unnecessary (`u32` -> `u32`): pallets/nfts/src/benchmarking.rs#L733
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> pallets/nfts/src/benchmarking.rs:733:17 | 733 | let n in 0 .. T::MaxTips::get() as u32; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `T::MaxTips::get()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
the borrowed expression implements the required traits: pallets/nfts/src/features/attributes.rs#L341
warning: the borrowed expression implements the required traits --> pallets/nfts/src/features/attributes.rs:341:28 | 341 | Collection::<T, I>::get(&collection).ok_or(Error::<T, I>::UnknownCollection)?; | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
casting to the same type is unnecessary (`u32` -> `u32`): pallets/nfts/src/benchmarking.rs#L298
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> pallets/nfts/src/benchmarking.rs:298:31 | 298 | approve_collection::<T, I>(i as u32); | ^^^^^^^^ help: try: `i` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: pallets/nfts/src/features/attributes.rs#L330
warning: this expression creates a reference which is immediately dereferenced by the compiler --> pallets/nfts/src/features/attributes.rs:330:37 | 330 | ... Self::has_role(&collection, &check_origin, CollectionRole::Admin), | ^^^^^^^^^^^^^ help: change this to: `check_origin` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: pallets/nfts/src/benchmarking.rs#L99
warning: the borrowed expression implements the required traits --> pallets/nfts/src/benchmarking.rs:99:59 | 99 | let item_config = ItemConfigOf::<T, I>::get(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
you seem to be trying to use `match` for an equality check. Consider using `if`: pallets/nfts/src/features/attributes.rs#L307
warning: you seem to be trying to use `match` for an equality check. Consider using `if` --> pallets/nfts/src/features/attributes.rs:307:4 | 307 | / match namespace { 308 | | AttributeNamespace::CollectionOwner => match maybe_item { 309 | | None => { 310 | | let collection_config = Self::get_collection_config(&collection)?; ... | 336 | | _ => (), 337 | | }; | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match help: try | 307 ~ if namespace == AttributeNamespace::CollectionOwner { match maybe_item { 308 ~ None => { 309 ~ let collection_config = Self::get_collection_config(&collection)?; 310 ~ ensure!( 311 ~ collection_config 312 ~ .is_setting_enabled(CollectionSetting::UnlockedAttributes), 313 ~ Error::<T, I>::LockedCollectionAttributes 314 ~ ) 315 ~ }, 316 ~ Some(item) => { 317 ~ // NOTE: if the item was previously burned, the ItemConfigOf record 318 ~ // might not exist. In that case, we allow to clear the attribute. 319 ~ let maybe_is_locked = Self::get_item_config(&collection, &item) 320 ~ .map_or(None, |c| { 321 ~ Some(c.has_disabled_setting(ItemSetting::UnlockedAttributes)) 322 ~ }); 323 ~ if let Some(is_locked) = maybe_is_locked { 324 ~ ensure!(!is_locked, Error::<T, I>::LockedItemAttributes); 325 ~ // Only the collection's admin can clear attributes in that namespace. 326 ~ // e.g. in off-chain mints, the attribute's depositor will be the item's 327 ~ // owner, that's why we need to do this extra check. 328 ~ ensure!( 329 ~ Self::has_role(&collection, &check_origin, CollectionRole::Admin), 330 ~ Error::<T, I>::NoPermission 331 ~ ); 332 ~ } 333 ~ }, 334 ~ } }; |
the borrowed expression implements the required traits: pallets/nfts/src/benchmarking.rs#L99
warning: the borrowed expression implements the required traits --> pallets/nfts/src/benchmarking.rs:99:46 | 99 | let item_config = ItemConfigOf::<T, I>::get(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/benchmarking.rs#L98
warning: the borrowed expression implements the required traits --> pallets/nfts/src/benchmarking.rs:98:60 | 98 | let item_exists = Item::<T, I>::contains_key(&collection, &item); | ^^^^^ help: change this to: `item` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: pallets/nfts/src/benchmarking.rs#L98
warning: the borrowed expression implements the required traits --> pallets/nfts/src/benchmarking.rs:98:47 | 98 | let item_exists = Item::<T, I>::contains_key(&collection, &item); | ^^^^^^^^^^^ help: change this to: `collection` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
duplicated attribute: pallets/nfts/src/benchmarking.rs#L20
warning: duplicated attribute --> pallets/nfts/src/benchmarking.rs:20:8 | 20 | #![cfg(feature = "runtime-benchmarks")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first defined here --> pallets/nfts/src/lib.rs:31:7 | 31 | #[cfg(feature = "runtime-benchmarks")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute --> pallets/nfts/src/benchmarking.rs:20:8 | 20 | #![cfg(feature = "runtime-benchmarks")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes = note: `#[warn(clippy::duplicated_attributes)]` on by default
constants have by default a `'static` lifetime: pallets/nfts/src/lib.rs#L69
warning: constants have by default a `'static` lifetime --> pallets/nfts/src/lib.rs:69:24 | 69 | pub const LOG_TARGET: &'static str = "runtime::nfts"; | -^^^^^^^---- help: consider removing `'static`: `&str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default
missing documentation for a type alias: extension/src/lib.rs#L38
warning: missing documentation for a type alias --> extension/src/lib.rs:38:1 | 38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: extension/src/lib.rs#L1
warning: missing documentation for the crate --> extension/src/lib.rs:1:1 | 1 | / #![cfg_attr(not(feature = "std"), no_std)] 2 | | 3 | | use core::marker::PhantomData; ... | 229 | | } 230 | | } | |_^ | = note: requested on the command line with `-W missing-docs`
very complex type used. Consider factoring parts into `type` definitions: extension/src/functions.rs#L83
warning: very complex type used. Consider factoring parts into `type` definitions --> extension/src/functions.rs:83:2 | 83 | PhantomData<(M, C, R, D, F, RC, E, L)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
missing documentation for an associated function: runtime/common/src/lib.rs#L125
warning: missing documentation for an associated function --> runtime/common/src/lib.rs:125:3 | 125 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/common/src/lib.rs:76:2 | 76 | / parameter_types! { 77 | | // One storage item; key size 32, value size 8; . 78 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 79 | | // Additional storage item size of 33 bytes. ... | 85 | | pub const MaxPending: u16 = 32; 86 | | } | |_____^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/common/src/lib.rs:76:2 | 76 | / parameter_types! { 77 | | // One storage item; key size 32, value size 8; . 78 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 79 | | // Additional storage item size of 33 bytes. ... | 85 | | pub const MaxPending: u16 = 32; 86 | | } | |_____^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/common/src/lib.rs:76:2 | 76 | / parameter_types! { 77 | | // One storage item; key size 32, value size 8; . 78 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 79 | | // Additional storage item size of 33 bytes. ... | 85 | | pub const MaxPending: u16 = 32; 86 | | } | |_____^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/common/src/lib.rs:76:2 | 76 | / parameter_types! { 77 | | // One storage item; key size 32, value size 8; . 78 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 79 | | // Additional storage item size of 33 bytes. ... | 85 | | pub const MaxPending: u16 = 32; 86 | | } | |_____^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/common/src/lib.rs:76:2 | 76 | / parameter_types! { 77 | | // One storage item; key size 32, value size 8; . 78 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 79 | | // Additional storage item size of 33 bytes. ... | 85 | | pub const MaxPending: u16 = 32; 86 | | } | |_____^ | = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct --> runtime/common/src/lib.rs:76:2 | 76 | / parameter_types! { 77 | | // One storage item; key size 32, value size 8; . 78 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 79 | | // Additional storage item size of 33 bytes. ... | 85 | | pub const MaxPending: u16 = 32; 86 | | } | |_____^ | = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a function: runtime/common/src/lib.rs#L52
warning: missing documentation for a function --> runtime/common/src/lib.rs:52:1 | 52 | pub const fn deposit(items: u32, bytes: u32) -> Balance { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L49
warning: missing documentation for a constant --> runtime/common/src/lib.rs:49:1 | 49 | pub const MICROUNIT: Balance = UNIT / 1_000_000; // 10_000 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L48
warning: missing documentation for a constant --> runtime/common/src/lib.rs:48:1 | 48 | pub const MILLIUNIT: Balance = UNIT / 1_000; // 10_000_000 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L46
warning: missing documentation for a constant --> runtime/common/src/lib.rs:46:1 | 46 | pub const UNIT: Balance = 10_000_000_000; // 10 decimals | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L31
warning: missing documentation for a constant --> runtime/common/src/lib.rs:31:1 | 31 | pub const DAYS: BlockNumber = HOURS * 24; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L30
warning: missing documentation for a constant --> runtime/common/src/lib.rs:30:1 | 30 | pub const HOURS: BlockNumber = MINUTES * 60; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L29
warning: missing documentation for a constant --> runtime/common/src/lib.rs:29:1 | 29 | pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L22
warning: missing documentation for a constant --> runtime/common/src/lib.rs:22:1 | 22 | pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for the crate: runtime/common/src/lib.rs#L1
warning: missing documentation for the crate --> runtime/common/src/lib.rs:1:1 | 1 | / #![cfg_attr(not(feature = "std"), no_std)] 2 | | use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}; 3 | | // Cumulus types re-export 4 | | // These types are shared between the devnet and testnet runtimes ... | 136 | | } 137 | | } | |_^ | = note: requested on the command line with `-W missing-docs`