From 6f630558dc7cbc74160c54bb096d9bc6d211e5c6 Mon Sep 17 00:00:00 2001 From: Yusuf Idi Maina <120538505+yusufidimaina9989@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:10:22 +0100 Subject: [PATCH] Fix typo --- docs/how-to-write-a-contract/how-to-write-a-contract.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/how-to-write-a-contract/how-to-write-a-contract.md b/docs/how-to-write-a-contract/how-to-write-a-contract.md index cf276f8b2..7bdc96ae0 100644 --- a/docs/how-to-write-a-contract/how-to-write-a-contract.md +++ b/docs/how-to-write-a-contract/how-to-write-a-contract.md @@ -628,7 +628,7 @@ for (let i = 0; i < 3; i++) { ### `return` -Due to the lack of native return semantics support in Bitcoin Script, a function currently must end with a `return` statement and it is the only valid place for a `return` statement. This requirement may be relaxed in the future. +Due to the lack of native return semantics support in Bitcoin Script, a non-public function currently must end with a `return` statement and it is the only valid place for a `return` statement. This requirement may be relaxed in the future. ```ts @method() m(x: bigint): bigint { @@ -802,7 +802,7 @@ static add(a: bigint, b: bigint): bigint { | `==` | Equal to | | `!=` | Not equal to | | `===` | Same as `==` | -| `!==` | Same as `!=` | +| `!==` | Not same as `!=` | | `>` | Greater than | | `>=` | Greater than or equal to | | `<` | Less than |