From 24933751592b42ef0167389654397d06e5b22952 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Fri, 2 Jun 2023 00:23:50 +0100 Subject: [PATCH] doc fix (#2676) fixing error: ``` warning: unresolved link to `well_known_keys::CODE` --> pallets/parachain-system/src/lib.rs:560:12 | 560 | #[pallet::storage] | ^^^^^^^ | = note: the link appears in this line: " As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]" ^^^^^^^^^^^^^^^^^^^^^ = note: no item named `well_known_keys` in scope = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default ``` --- cumulus/pallets/parachain-system/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cumulus/pallets/parachain-system/src/lib.rs b/cumulus/pallets/parachain-system/src/lib.rs index 5f7e150157..fde408c08e 100644 --- a/cumulus/pallets/parachain-system/src/lib.rs +++ b/cumulus/pallets/parachain-system/src/lib.rs @@ -553,10 +553,8 @@ pub mod pallet { /// In case of a scheduled upgrade, this storage field contains the validation code to be applied. /// - /// As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE] + /// As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][sp_core::storage::well_known_keys::CODE] /// which will result the next block process with the new validation code. This concludes the upgrade process. - /// - /// [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE #[pallet::storage] #[pallet::getter(fn new_validation_function)] pub(super) type PendingValidationCode = StorageValue<_, Vec, ValueQuery>;