aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vm_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index bedcb82ebb..87d6e53345 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1263,7 +1263,7 @@ rb_tracepoint_new(VALUE target_thval, rb_event_flag_t events, void (*func)(VALUE
* TracePoint.trace(:line) do |tp|
* $tp = tp
* end
- * $tp.line #=> access from outside (RuntimeError)
+ * $tp.lineno #=> access from outside (RuntimeError)
*
* Access from other threads is also forbidden.
*