Skip to content

Commit

Permalink
fix typos README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsW3 authored Dec 8, 2023
1 parent 80ba9bd commit 1046726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Note that unlike `get`, using this bracket notation panics when accessing an out

### Caveats

There are two idiosyncacies you should be aware of when using `List`
There are two idiosyncrasies you should be aware of when using `List`

1. The `append` operation costs 2 storage writes - one for the value itself and another one for updating the List's length
2. Due to a compiler limitation, it is not possible to use mutating operations with a single inline statement. For example, `self.amounts.read().append(42);` will not work. You have to do it in 2 steps:
Expand Down

0 comments on commit 1046726

Please sign in to comment.