diff --git a/CHANGELOG.md b/CHANGELOG.md index bbc60b46..d7bf0dec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,7 @@ Description of the upcoming release here. ### Fixed -- Some fix here 1 -- Some fix here 2 +- [#297](https://github.com/FuelLabs/sway-libs/pull/297) Fixes docs anchor in basic SRC-7 example. #### Breaking diff --git a/docs/book/src/asset/metadata.md b/docs/book/src/asset/metadata.md index c066f68a..8a0a807b 100644 --- a/docs/book/src/asset/metadata.md +++ b/docs/book/src/asset/metadata.md @@ -51,5 +51,5 @@ The `_set_metadata()` function follows the SRC-7 standard for logging and will e To use the `StorageMetadata` type, simply get the stored metadata with the associated `key` and `AssetId` using the provided `_metadata()` convenience function. The example below shows the implementation of the [SRC-7](https://docs.fuel.network/docs/sway-standards/src-7-asset-metadata/) standard in combination with the Asset Library's `StorageMetadata` type and the `_metadata()` function with no user defined restrictions or custom functionality. ```sway -{{#include ../../../../examples/asset/basic_src7/src/main.sw:src7_metadata_convenience_function}} +{{#include ../../../../examples/asset/basic_src7/src/main.sw:basic_src7}} ```