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

Commit 8e63230

Browse files
authored
fix: just the small bug (#216)
The page will be modified as per #131
1 parent bd8aa96 commit 8e63230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/book/functions.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Extension functions allow you to implement extensions for any possible type.
3131
> The name of the first argument MUST be named `self` and the type of this argument is the type you are extending.
3232
3333
```tact
34-
extends fun pow(self: Int, c: Int) {
34+
extends fun pow(self: Int, c: Int): Int {
3535
let res: Int = 1;
3636
repeat(c) {
3737
res *= self;

0 commit comments

Comments
 (0)