From bf43f7420a8548f10a010e61ffab52dabadb4272 Mon Sep 17 00:00:00 2001 From: Shinsaku Ashizawa <39494661+NoCtrlZ@users.noreply.github.com> Date: Tue, 6 Jul 2021 22:56:37 +0900 Subject: [PATCH] change reference module to pallet (#9281) * change reference module to pallet * fix inner doc Co-authored-by: thiolliere --- frame/assets/README.md | 2 +- frame/assets/src/lib.rs | 6 +++--- frame/aura/README.md | 2 +- frame/system/README.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frame/assets/README.md b/frame/assets/README.md index 2a62a457943fa..a99b60fa33d56 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/assets/src/lib.rs b/frame/assets/src/lib.rs index 44ecbe98a017f..d901f82701bfb 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 //! diff --git a/frame/aura/README.md b/frame/aura/README.md index 89ea5010a8870..263f158d79068 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 bc7198d2c9295..6766c3d73f4de 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