aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-05 16:36:26 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-05 16:36:26 +0200
commitf7c4c80ef3e50d72e2ec499ef395ed19c514d512 (patch)
tree718a167c7615a474b3b306e06e3269c7194853da /core/math
parent8480295b60378e94d4d91e262fabd0a91e5b1150 (diff)
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() ```
Diffstat (limited to 'core/math')
-rw-r--r--core/math/rand/rand.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rand/rand.odin b/core/math/rand/rand.odin
index 537256d32..c556702bd 100644
--- a/core/math/rand/rand.odin
+++ b/core/math/rand/rand.odin
@@ -33,7 +33,7 @@ Example:
import "core:math/rand"
import "core:fmt"
- set_global_seed_example :: proc() {
+ reset_example :: proc() {
rand.reset(1)
fmt.println(rand.uint64())
}