From ff1430d2426229ada231a6007b498bf675a8eb37 Mon Sep 17 00:00:00 2001 From: NoCtrlZ Date: Tue, 6 Jul 2021 15:02:54 +0900 Subject: [PATCH 1/2] change reference module to pallet --- frame/assets/README.md | 2 +- frame/aura/README.md | 2 +- frame/system/README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frame/assets/README.md b/frame/assets/README.md index 2a62a457943f..a99b60fa33d5 100644 --- a/frame/assets/README.md +++ b/frame/assets/README.md @@ -51,7 +51,7 @@ Please refer to the [`Call`](https://docs.rs/pallet-assets/latest/pallet_assets/ * `balance` - Get the asset `id` balance of `who`. * `total_supply` - Get the total supply of an asset `id`. -Please refer to the [`Module`](https://docs.rs/pallet-assets/latest/pallet_assets/struct.Module.html) struct for details on publicly available functions. +Please refer to the [`Pallet`](https://docs.rs/pallet-assets/latest/pallet_assets/pallet/struct.Pallet.html) struct for details on publicly available functions. ## Usage diff --git a/frame/aura/README.md b/frame/aura/README.md index 89ea5010a887..263f158d7906 100644 --- a/frame/aura/README.md +++ b/frame/aura/README.md @@ -1,7 +1,7 @@ # Aura Module - [`aura::Config`](https://docs.rs/pallet-aura/latest/pallet_aura/pallet/trait.Config.html) -- [`Module`](https://docs.rs/pallet-aura/latest/pallet_aura/struct.Module.html) +- [`Pallet`](https://docs.rs/pallet-aura/latest/pallet_aura/pallet/struct.Pallet.html) ## Overview diff --git a/frame/system/README.md b/frame/system/README.md index bc7198d2c929..6766c3d73f4d 100644 --- a/frame/system/README.md +++ b/frame/system/README.md @@ -8,7 +8,7 @@ It acts as the base layer for other pallets to interact with the Substrate frame ## Overview The System module defines the core data types used in a Substrate runtime. -It also provides several utility functions (see [`Module`](https://docs.rs/frame-system/latest/frame_system/struct.Module.html)) for other FRAME pallets. +It also provides several utility functions (see [`Pallet`](https://docs.rs/frame-system/latest/frame_system/pallet/struct.Pallet.html)) for other FRAME pallets. In addition, it manages the storage items for extrinsics data, indexes, event records, and digest items, among other things that support the execution of the current block. @@ -24,7 +24,7 @@ The System module does not implement any dispatchable functions. ### Public Functions -See the [`Module`](https://docs.rs/frame-system/latest/frame_system/struct.Module.html) struct for details of publicly available functions. +See the [`Pallet`](https://docs.rs/frame-system/latest/frame_system/pallet/struct.Pallet.html) struct for details of publicly available functions. ### Signed Extensions From e4be8841b70c62f11728fb39dd1d809f87bf6581 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Tue, 6 Jul 2021 15:14:35 +0200 Subject: [PATCH 2/2] fix inner doc --- frame/assets/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frame/assets/src/lib.rs b/frame/assets/src/lib.rs index 44ecbe98a017..d901f82701bf 100644 --- a/frame/assets/src/lib.rs +++ b/frame/assets/src/lib.rs @@ -15,7 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! # Assets Module +//! # Assets Pallet //! //! A simple, secure module for dealing with fungible assets. //! @@ -104,7 +104,7 @@ //! * `set_team`: Changes an asset class's Admin, Freezer and Issuer; called by the asset class's //! Owner. //! -//! Please refer to the [`Call`](./enum.Call.html) enum and its associated variants for documentation on each function. +//! Please refer to the [`Call`] enum and its associated variants for documentation on each function. //! //! ### Public Functions //! @@ -112,7 +112,7 @@ //! * `balance` - Get the asset `id` balance of `who`. //! * `total_supply` - Get the total supply of an asset `id`. //! -//! Please refer to the [`Module`](./struct.Module.html) struct for details on publicly available functions. +//! Please refer to the [`Pallet`] struct for details on publicly available functions. //! //! ## Related Modules //!