... to add this reference to its signature. This solves the second borrow problem. fn run_forever (&mut self, mut f: F) ... Rust mut borrow fail in closure ...
確定! 回上一頁