diff options
| author | Reshen <reshen817@gmail.com> | 2025-12-09 11:43:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 11:43:55 -0800 |
| commit | 973d368c4c7c3ab3b67a99587901c4cb6523cd26 (patch) | |
| tree | 863060b5aaead8a91605b88f260cfe88f4ca71a0 /core/debug | |
| parent | 45b4fb156520c1b85a37b9e51cc262303c362da1 (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.odin | 4 |
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 |