Fix broken examples in documentation tester.

No more:
```
We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo"
The following procedures were found:
   bar()
```
This commit is contained in:
Jeroen van Rijn
2025-04-05 16:36:26 +02:00
parent 8480295b60
commit f7c4c80ef3
6 changed files with 127 additions and 69 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ Example:
import "core:fmt"
import "core:strings"
cut_example :: proc() {
cut_clone_example :: proc() {
fmt.println(strings.cut_clone("some example text", 0, 4)) // -> "some"
fmt.println(strings.cut_clone("some example text", 2, 2)) // -> "me"
fmt.println(strings.cut_clone("some example text", 5, 7)) // -> "example"