What is the correct return type of a function returning an iterator produced with a closure borrowing self

后端 未结 0 1328
旧巷少年郎
旧巷少年郎 2020-12-10 07:19

Consider the following code with an emphasis on children_iter():

type NodeMap = HashMap;

struct Node {
    id: i32,
    parent:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题