From 2aed0cae3de22fe0fd56c6ac7d42502b14170c28 Mon Sep 17 00:00:00 2001 From: Call Delegation <106365423+calldelegation@users.noreply.github.com> Date: Tue, 29 Oct 2024 04:24:52 -0400 Subject: [PATCH] docs: Fix ignition docs (#300) ## Type of change - Bug fix - New feature - Improvement (refactoring, restructuring repository, cleaning tech debt, ...) - Documentation - Other (describe below) ## Changes The following changes have been made: - Change 1 - Change 2 ## Notes - Note 1 ## Related Issues Closes #\ ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers. - [ ] I have updated the changelog to reflect the changes on this PR. Co-authored-by: K1-R1 <77465250+K1-R1@users.noreply.github.com> Co-authored-by: Cameron Carstens --- examples/asset/metadata_docs/src/main.sw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {