forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage Vector Method and Dev-Doc Enhancements (FuelLabs#4172)
## Description > Note: > Part 2 of 3 breakout of PR FuelLabs#3935 > Blocked by PR FuelLabs#4171 This PR enhances existing `StorageVec` methods and introduces a new documentation section for each `StorageVec` method titled "Number of Storage Accesses". ### Number of Storage Accesses This section is meant to indicate the number of storage read, write, and clear operations for a given method. Methods that do not use a constant number of storage operations (such as `StorageVec::insert`) will use a sway expression in its documentation to indicate the amount. ## 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). - [✅] 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. --------- Co-authored-by: João Matos <[email protected]>
- Loading branch information
1 parent
205c6c5
commit 2099b9a
Showing
1 changed file
with
58 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters