From 5c3193a583983bc69d1b31e373e7ae6e73336d78 Mon Sep 17 00:00:00 2001 From: tetotechy Date: Mon, 28 Aug 2023 14:25:24 +0200 Subject: [PATCH] fix param (#66) --- docs/code-sharing/global-function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/code-sharing/global-function.md b/docs/code-sharing/global-function.md index 78ca35b..c1991f6 100644 --- a/docs/code-sharing/global-function.md +++ b/docs/code-sharing/global-function.md @@ -15,7 +15,7 @@ Use a `primitive`. ```pony primitive Doubler - fun apply(U64: num): U64 => + fun apply(num: U64): U64 => num * 2 ```