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:
1 parent
8480295b60
commit
f7c4c80ef3
6 files changed
+127
-69
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user