diff --git a/droute/src/router/script/rune_scripting/types.rs b/droute/src/router/script/rune_scripting/types.rs index 25769ba..56cc04d 100644 --- a/droute/src/router/script/rune_scripting/types.rs +++ b/droute/src/router/script/rune_scripting/types.rs @@ -166,9 +166,14 @@ pub static TYPES_MODULE: Lazy = Lazy::new(|| { m.ty::().unwrap(); m.inst_fn(Protocol::INTO_ITER, OptRecordsIter::into_iterator) .unwrap(); + m.inst_fn("into_iter", OptRecordsIter::into_iterator) + .unwrap(); + m.ty::().unwrap(); m.inst_fn(Protocol::INTO_ITER, DnsRecordsIter::into_iterator) .unwrap(); + m.inst_fn("into_iter", DnsRecordsIter::into_iterator) + .unwrap(); // Other types m.ty::().unwrap();