Skip to content

Commit

Permalink
fix(docs): update a typo in coins.md (gnolang#2227)
Browse files Browse the repository at this point in the history
<!-- please provide a detailed description of the changes made in this
pull request. -->

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
  • Loading branch information
MalekLahbib authored and omarsy committed Jun 3, 2024
1 parent d62b24c commit 0da8f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/stdlibs/std/coins.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ coins.String() // 100ugnot,150foo,200bar
---

### AmountOf
Returns **int64** amount of specified coin within the `Coins` set it was called upon. Returns `0` if coin specified coin does not exist in the set.
Returns **int64** amount of specified coin within the `Coins` set it was called upon. Returns `0` if the specified coin does not exist in the set.

### Parameters
- `denom` **string** denomination of specified coin
Expand Down

0 comments on commit 0da8f0b

Please sign in to comment.