mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
b2cf48f406
commit
0f1cb92345
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ impl ObjectClosure {
|
|||
F2: 'env + FnOnce() -> T,
|
||||
{
|
||||
debug_assert!(
|
||||
self.c_function == THE_UNREGISTERED_CLOSURE_FUNC,
|
||||
std::ptr::fn_addr_eq(self.c_function, THE_UNREGISTERED_CLOSURE_FUNC),
|
||||
"set_temporarily_and_run_code is recursively called."
|
||||
);
|
||||
self.c_function = Self::c_function_registered::<F1>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue