Fix syntax bugs

This commit is contained in:
2026-07-03 10:37:14 +02:00
parent ec857525b4
commit 53c0768672
5 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: Functions
description: Function declarations, self parameters, return types, and unsafe functions.
icon: Function
icon: SquareFunction
---
```mist
@@ -48,7 +48,7 @@ Functions use **Allman brace style** (opening brace on the next line).
### Self Parameter
Methods can take `self`, `&self`, `&mut self`, or `self` with lifetimes:
Methods can take `self`, `mut self`, `&self`, `&mut self` additionally with lifetimes:
```mist
pub void set_value(&mut self, i32 v)