Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
change reference module to pallet (#9281)
Browse files Browse the repository at this point in the history
* change reference module to pallet

* fix inner doc

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
  • Loading branch information
ashWhiteHat and gui1117 authored Jul 6, 2021
1 parent fdfb8b3 commit bf43f74
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frame/assets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions frame/assets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//!
Expand Down Expand Up @@ -104,15 +104,15 @@
//! * `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
//! <!-- Original author of descriptions: @gavofyork -->
//!
//! * `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
//!
Expand Down
2 changes: 1 addition & 1 deletion frame/aura/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions frame/system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

Expand Down

0 comments on commit bf43f74

Please sign in to comment.