Error Message Unclear: returns a value referencing data owned by the current function

后端 未结 0 1239
Happy的楠姐
Happy的楠姐 2020-12-29 09:55

I do not understand the error message I am getting for the following code.

use std::collections::HashMap;
use std::rc::Weak;

struct ThingPool {
    thing_map         


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