Skip to content

Commit f68ab8e

Browse files
RitikIGI-111
andauthored
Update docs/book/src/reference/compiler_intrinsics.md
Co-authored-by: IGI-111 <igi-111@protonmail.com>
1 parent 2f87bfb commit f68ab8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/book/src/reference/compiler_intrinsics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ fn reset_contract_storage() -> bool {
1515
__state_clear()
1616
}
1717
18-
```sway
19-
fn __state_clear() -> bool
18+
```
19+
2020
The Sway compiler supports a list of intrinsics that perform various low level operations that are useful for building libraries. Compiler intrinsics should rarely be used but are preferred over `asm` blocks because they are type-checked and are safer overall. Below is a list of all available compiler intrinsics:
2121

2222
---

0 commit comments

Comments
 (0)