From 2ac3e9abe98579261a21a2e33df16f1bff1ebc1d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 4 Sep 2023 10:30:57 +0900 Subject: [PATCH] [Bug #18487] [DOC] Remove stale note in `set_trace_func` document `c-call` and `c-return events no longer pass the nearest Ruby method binding. --- vm_trace.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vm_trace.c b/vm_trace.c index 4b7d1d305d..3e11131bdd 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -569,10 +569,6 @@ static void call_trace_func(rb_event_flag_t, VALUE data, VALUE self, ID id, VALU * line prog.rb:3 :test Test * line prog.rb:4 :test Test * return prog.rb:5 :test Test - * - * Note that for +c-call+ and +c-return+ events, the binding returned is the - * binding of the nearest Ruby method calling the C method, since C methods - * themselves do not have bindings. */ static VALUE