Skip to content

Commit cd5daeb

Browse files
committed
formatting fix
1 parent bd61280 commit cd5daeb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llms.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22640,7 +22640,7 @@ The `StorageMap` consists of the following parameters:
2264022640
- **`T: :AccountId`**: Represents the key type, which corresponds to the account’s unique ID.
2264122641
- **`AccountInfo<T: :Nonce, T::AccountData>`**: The value type stored in the map. For each account ID, the map stores an `AccountInfo` struct containing:
2264222642

22643-
- **`T: :Nonce`**: A nonce for the account, which is incremented with each transaction to ensure transaction uniqueness.
22643+
- **`T::Nonce`**: A nonce for the account, which is incremented with each transaction to ensure transaction uniqueness.
2264422644
- **`T: :AccountData`**: Custom account data defined by the runtime configuration, which could include balances, locked funds, or other relevant information.
2264522645

2264622646
- **`ValueQuery`**: Defines how queries to the storage map behave when no value is found; returns a default value instead of `None`.
@@ -24225,7 +24225,7 @@ The [`Decode`](https://docs.rs/parity-scale-codec/latest/parity_scale_codec/trai
2422524225

2422624226
The [`CompactAs`](https://docs.rs/parity-scale-codec/latest/parity_scale_codec/trait.CompactAs.html){target=\_blank} trait wraps custom types for compact encoding:
2422724227

24228-
- **`encode_as(&self) -> &Self: :As`**: Encodes the type as a compact type.
24228+
- **`encode_as(&self) -> &Self::As`**: Encodes the type as a compact type.
2422924229
- **`decode_from(_: Self::As) -> Result<Self, Error>`**: decodes from a compact encoded type.
2423024230

2423124231
### HasCompact
@@ -25533,7 +25533,7 @@ flowchart TB
2553325533
- Employs a finite set of registers for argument passing instead of an infinite stack.
2553425534
- Facilitates efficient translation to underlying hardware architectures.
2553525535
- Optimizes register allocation through careful register count selection.
25536-
- **Enables simple 1**: 1 mapping to x86-64 instruction sets.
25536+
- Enables simple 1:1 mapping to x86-64 instruction sets.
2553725537
- Reduces compilation complexity through strategic register limitation.
2553825538
- Improves overall execution performance through hardware-aligned design.
2553925539

polkadot-protocol/smart-contract-basics/polkavm-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ flowchart TB
7171
- Employs a finite set of registers for argument passing instead of an infinite stack.
7272
- Facilitates efficient translation to underlying hardware architectures.
7373
- Optimizes register allocation through careful register count selection.
74-
- **Enables simple 1**: 1 mapping to x86-64 instruction sets.
74+
- Enables simple 1:1 mapping to x86-64 instruction sets.
7575
- Reduces compilation complexity through strategic register limitation.
7676
- Improves overall execution performance through hardware-aligned design.
7777

0 commit comments

Comments
 (0)