百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#351·100-exercises-to-learn-rust

第 7.1 章 ("线程") 中需要使用 "move"

作者: RedGlow创建于 2026年6月27日更新于 2026年6月27日

练习 7.1 的解决方案 - https://GitHub.com/mainmatter/100-exercises-to-learn-Rust/blob/solutions/exercises/07_threads/01_threads/src/lib.rs - 似乎需要使用 "move",但相应章节中并未解释 "move" (在仓库中搜索了一下,似乎从未解释过,但我可能错了)。

内容来源: mainmatter/100-exercises-to-learn-rust

查看 GitHub 原文在 GitHub 查看讨论