Skip to content

Commit a54a3dd

Browse files
authored
fix docs link (#215)
1 parent 50c50b3 commit a54a3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The encoded data does not include this contextual information.
1313

1414
To get a better understanding of how the encoding is done for different types,
1515
take a look at the
16-
[low-level data formats overview page at the Substrate docs site](https://substrate.dev/docs/en/overview/low-level-data-format).
16+
[low-level data formats overview page at the Substrate docs site](https://substrate.dev/docs/en/knowledgebase/advanced/codec).
1717

1818
## Implementation
1919

@@ -45,7 +45,7 @@ Returns an `Err` if the decoding fails.
4545
### CompactAs
4646

4747
The `CompactAs` trait is used for wrapping custom types/structs as compact types, which makes them even more space/memory efficient.
48-
The compact encoding is described [here](https://substrate.dev/docs/en/overview/low-level-data-format#compactgeneral-integers).
48+
The compact encoding is described [here](https://substrate.dev/docs/en/knowledgebase/advanced/codec#compactgeneral-integers).
4949

5050
* `encode_as(&self) -> &Self::As`: Encodes the type (self) as a compact type.
5151
The type `As` is defined in the same trait and its implementation should be compact encode-able.

0 commit comments

Comments
 (0)