aboutsummaryrefslogtreecommitdiff
path: root/core/debug
diff options
context:
space:
mode:
authorReshen <reshen817@gmail.com>2025-12-09 11:43:55 -0800
committerGitHub <noreply@github.com>2025-12-09 11:43:55 -0800
commit973d368c4c7c3ab3b67a99587901c4cb6523cd26 (patch)
tree863060b5aaead8a91605b88f260cfe88f4ca71a0 /core/debug
parent45b4fb156520c1b85a37b9e51cc262303c362da1 (diff)
Fixing code example, trace_ctx variable was renamed
`trace_ctx` should actually be `global_trace_ctx`, as declared on line 10
Diffstat (limited to 'core/debug')
-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