Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

fix: just the small bug #216

Merged
merged 1 commit into from
May 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/book/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Extension functions allow you to implement extensions for any possible type.
> The name of the first argument MUST be named `self` and the type of this argument is the type you are extending.

```tact
extends fun pow(self: Int, c: Int) {
extends fun pow(self: Int, c: Int): Int {
let res: Int = 1;
repeat(c) {
res *= self;
Expand Down
Loading