mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-21 05:45:19 +00:00
Fixing code example, trace_ctx variable was renamed
`trace_ctx` should actually be `global_trace_ctx`, as declared on line 10
This commit is contained in:
@@ -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
|
||||
package debug_trace
|
||||
|
||||
Reference in New Issue
Block a user