Skip to content

Commit 3dac8c3

Browse files
0xLuccanhussein11
andauthored
Apply suggestions from code review
Co-authored-by: Nicolás Hussein <[email protected]>
1 parent b8210c8 commit 3dac8c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

develop/parachains/customize-parachain/add-pallet-instances.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Running multiple instances of the same pallet within a runtime is a powerful tec
1111

1212
## Understanding Instantiable Pallets
1313

14-
Unlike standard pallets that exist as a single instance in a runtime, instantiable pallets require special configuration through an additional generic parameter `I`.
15-
This generic `I` creates a unique lifetime for each pallet instance, affecting the pallet's generic types and its configuration trait `T`.
14+
Unlike standard pallets that exist as a single instance in a runtime, instantiable pallets require special configuration through an additional [generic parameter](https://doc.rust-lang.org/reference/items/generics.html){target=\_blank} `I`.
15+
This generic `I` creates a unique [lifetime](https://doc.rust-lang.org/rust-by-example/scope/lifetime.html){target=\_blank} for each pallet instance, affecting the pallet's generic types and its configuration trait `T`.
1616

1717
You can identify an instantiable pallet by examining its `Pallet` struct definition, which will include both the standard generic `T` and the instantiation generic `I`:
1818

0 commit comments

Comments
 (0)