From 973d368c4c7c3ab3b67a99587901c4cb6523cd26 Mon Sep 17 00:00:00 2001 From: Reshen Date: Tue, 9 Dec 2025 11:43:55 -0800 Subject: [PATCH] Fixing code example, trace_ctx variable was renamed `trace_ctx` should actually be `global_trace_ctx`, as declared on line 10 --- core/debug/trace/doc.odin | 4 ++-- 1 file 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