mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
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:
@@ -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