diff --git a/examples/asset/metadata_docs/src/main.sw b/examples/asset/metadata_docs/src/main.sw index cf0e13b1..e09ed4d0 100644 --- a/examples/asset/metadata_docs/src/main.sw +++ b/examples/asset/metadata_docs/src/main.sw @@ -20,14 +20,14 @@ storage { } // ANCHOR_END: src7_storage -// ANCHOR src7_metadata_convenience_function +// ANCHOR: src7_metadata_convenience_function impl SRC7 for Contract { #[storage(read)] fn metadata(asset: AssetId, key: String) -> Option { _metadata(storage.metadata, asset, key) } } -// ANCHOR src7_metadata_convenience_function +// ANCHOR_END: src7_metadata_convenience_function // ANCHOR: src7_set_metadata impl SetAssetMetadata for Contract {