aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-12-09 21:15:08 +0000
committerGitHub <noreply@github.com>2025-12-09 21:15:08 +0000
commitfefc4b9978fba97011ac85ecae52b41995b96161 (patch)
tree863060b5aaead8a91605b88f260cfe88f4ca71a0
parent45b4fb156520c1b85a37b9e51cc262303c362da1 (diff)
parent973d368c4c7c3ab3b67a99587901c4cb6523cd26 (diff)
Merge pull request #6005 from reshen/patch-1
Fixing code example, trace_ctx variable was renamed
-rw-r--r--core/debug/trace/doc.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/debug/trace/doc.odin b/core/debug/trace/doc.odin
index e5fd3f7c2..f9bb82fb5 100644
--- a/core/debug/trace/doc.odin
+++ b/core/debug/trace/doc.odin
@@ -19,7 +19,7 @@ Example:
}
runtime.print_byte('\n')
- ctx := &trace_ctx
+ ctx := &global_trace_ctx
if !trace.in_resolve(ctx) {
buf: [64]trace.Frame
runtime.print_string("Debug Trace:\n")
@@ -48,4 +48,4 @@ Example:
}
*/
-package debug_trace \ No newline at end of file
+package debug_trace