提交 a3686c68 编写于 作者: M Maxim Zholobak

Use for_each_child_stable in find_module

上级 39f848ef
......@@ -3526,7 +3526,7 @@ fn find_module(&mut self,
self.populate_module_if_necessary(in_module);
in_module.for_each_child(|ident, _, name_binding| {
in_module.for_each_child_stable(|ident, _, name_binding| {
// abort if the module is already found
if let Some(_) = result {
return ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册