From 2db82bff20d9a1ea45fe0d7be7257ab92970c792 Mon Sep 17 00:00:00 2001 From: "kriko.eth" <43150707+coreggon11@users.noreply.github.com> Date: Fri, 29 Oct 2021 10:58:36 +0200 Subject: [PATCH] docs spelling #2 --- .../smart-contracts/PSP1155/Extensions/psp1155burnable.md | 2 +- .../smart-contracts/PSP1155/Extensions/psp1155metadata.md | 4 ++-- .../smart-contracts/PSP1155/Extensions/psp1155mintable.md | 2 +- docs/docs/smart-contracts/PSP721/Extensions/psp721burnable.md | 2 +- docs/docs/smart-contracts/PSP721/Extensions/psp721mintable.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs/smart-contracts/PSP1155/Extensions/psp1155burnable.md b/docs/docs/smart-contracts/PSP1155/Extensions/psp1155burnable.md index d4cd582e3..60eb72141 100644 --- a/docs/docs/smart-contracts/PSP1155/Extensions/psp1155burnable.md +++ b/docs/docs/smart-contracts/PSP1155/Extensions/psp1155burnable.md @@ -7,7 +7,7 @@ This example shows how you can reuse the implementation of [PSP1155](https://git ## How to use this extension -In order for your smart contract to use this extension, you only need to implement the `PSP1155Burnable` trait in your `PSP1155` smart contract. Add import for `psp1155::extensions::burnable::*`, inherit the implementation for `PSP1155Burnable` trait, where you can also customize (override) the original functions from `PSP1155Burnable`. +For your smart contract to use this extension, you only need to implement the `PSP1155Burnable` trait in your `PSP1155` smart contract. Add import for `psp1155::extensions::burnable::*`, inherit the implementation for `PSP1155Burnable` trait, where you can also customize (override) the original functions from `PSP1155Burnable`. ```rust use psp1155::extensions::burnable::*; diff --git a/docs/docs/smart-contracts/PSP1155/Extensions/psp1155metadata.md b/docs/docs/smart-contracts/PSP1155/Extensions/psp1155metadata.md index 9a005f166..452e5cea4 100644 --- a/docs/docs/smart-contracts/PSP1155/Extensions/psp1155metadata.md +++ b/docs/docs/smart-contracts/PSP1155/Extensions/psp1155metadata.md @@ -17,7 +17,7 @@ pub mod my_psp1155 { ## Step 2: Define storage -Declare storage struct and declare the field related to `PSP1155MetadataStorage` trait in addition to your `PSP1155Storage` field. Then you need to derive `PSP1155MetadataStorage` trait and mark the corresponding field with `#[PSP1155MetadataStorageField]` attribute. Deriving this trait allows you to reuse the `PSP1155Metadata` extension in your `PSP1155` implementation. +Declare storage struct and declare the field related to the `PSP1155MetadataStorage` trait in addition to your `PSP1155Storage` field. Then you need to derive the `PSP1155MetadataStorage` trait and mark the corresponding field with the `#[PSP1155MetadataStorageField]` attribute. Deriving this trait allows you to reuse the `PSP1155Metadata` extension in your `PSP1155` implementation. ```rust #[derive(Default, PSP1155Storage, PSP1155MetadataStorage)] @@ -32,7 +32,7 @@ pub struct MyPSP1155 { ## Step 3: Inherit logic -Inherit implementation of `PSP1155Metadata` trait. You can customize (override) methods in this `impl` block. +Inherit implementation of the `PSP1155Metadata` trait. You can customize (override) methods in this `impl` block. ```rust impl PSP1155Metadata for MyPSP1155 {} diff --git a/docs/docs/smart-contracts/PSP1155/Extensions/psp1155mintable.md b/docs/docs/smart-contracts/PSP1155/Extensions/psp1155mintable.md index 21ba2423a..c398daf6e 100644 --- a/docs/docs/smart-contracts/PSP1155/Extensions/psp1155mintable.md +++ b/docs/docs/smart-contracts/PSP1155/Extensions/psp1155mintable.md @@ -7,7 +7,7 @@ This example shows how you can reuse the implementation of [PSP1155](https://git ## How to use this extension -In order for your smart contract to use this extension, you only need to implement the `PSP1155Mintable` trait in your `PSP1155` smart contract. Add import for `psp1155::extensions::mintable::*`, inherit the implementation for `PSP1155Mintable` trait, where you can also customize (override) the original functions from `PSP1155Mintable`. +For your smart contract to use this extension, you only need to implement the `PSP1155Mintable` trait in your `PSP1155` smart contract. Add import for `psp1155::extensions::mintable::*`, inherit the implementation for `PSP1155Mintable` trait, where you can also customize (override) the original functions from `PSP1155Mintable`. ```rust use psp1155::extensions::mintable::*; diff --git a/docs/docs/smart-contracts/PSP721/Extensions/psp721burnable.md b/docs/docs/smart-contracts/PSP721/Extensions/psp721burnable.md index d6de1891e..cc37e08d8 100644 --- a/docs/docs/smart-contracts/PSP721/Extensions/psp721burnable.md +++ b/docs/docs/smart-contracts/PSP721/Extensions/psp721burnable.md @@ -7,7 +7,7 @@ This example shows how you can reuse the implementation of [PSP721](https://gith ## How to use this extension -In order for your smart contract to use this extension, you only need to implement the `PSP721Burnable` trait in your `PSP721` smart contract. Add import for `psp721::extensions::burnable::*`, inherit the implementation for `PSP721Burnable` trait, where you can also customize (override) the original functions from `PSP721Burnable`. +For your smart contract to use this extension, you only need to implement the `PSP721Burnable` trait in your `PSP721` smart contract. Add import for `psp721::extensions::burnable::*`, inherit the implementation for `PSP721Burnable` trait, where you can also customize (override) the original functions from `PSP721Burnable`. ```rust use psp721::extensions::burnable::*; diff --git a/docs/docs/smart-contracts/PSP721/Extensions/psp721mintable.md b/docs/docs/smart-contracts/PSP721/Extensions/psp721mintable.md index c305f2dd5..3148080e6 100644 --- a/docs/docs/smart-contracts/PSP721/Extensions/psp721mintable.md +++ b/docs/docs/smart-contracts/PSP721/Extensions/psp721mintable.md @@ -7,7 +7,7 @@ This example shows how you can reuse the implementation of [PSP721](https://gith ## How to use this extension -In order for your smart contract to use this extension, you only need to implement the `PSP721Mintable` trait in your `PSP721` smart contract. Add import for `psp721::extensions::mintable::*`, inherit the implementation for `PSP721Mintable` trait, where you can also customize (override) the original functions from `PSP721Mintable`. +For your smart contract to use this extension, you only need to implement the `PSP721Mintable` trait in your `PSP721` smart contract. Add import for `psp721::extensions::mintable::*`, inherit the implementation for `PSP721Mintable` trait, where you can also customize (override) the original functions from `PSP721Mintable`. ```rust use psp721::extensions::mintable::*;