2023-04-12
本文由 ChatGPT(gpt-3.5-turbo-1106) 翻譯。
你好,歡迎來到另一期的《本周 Rust 新聞》! Rust 是一種能讓每個人建立可靠和高效軟件的編程語言。 這是一個對其進展和社區的每週總結。 希望有什麼想提到的?在 Twitter 上標記我們 @ThisWeekInRust,或在 mastodon.social 上標記我們 @ThisWeekinRust,或者 向我們提交拉取請求。 想參與其中嗎?我們歡迎貢獻。
本周 Rust 新聞 是在 GitHub 上公開開發的。 如果在本周期刊中發現任何錯誤,請提交 PR。
感谢 Sviatoslav Kokurin 的建议!
一直想要貢獻開源項目,但不知道從哪裡開始嗎?每週我們都會突出 Rust 社區中的一些任務,供您挑選並開始參與!
其中一些任務可能會有導師提供,請訪問任務頁面以獲取更多信息。
derive(Diagnostic) / 基於結構的診斷] (https://rust-lang.zulipchat.com/#narrow/stream/328238-RustcContributor.3A.3Anew/topic/Diagnostics.20Translation) (rust#100717)missing_fieldsget_required_value 使用 OptionExt 中的 ValidationError如果您是 Rust 項目所有者,並正在尋找貢獻者,請在這裡提交任務。
上个星期合并了 385 个拉取请求merged
rustc_macros 迁移到 syn 2.0transmute 产生 OperandValue 而不需要 allocatemporary_cstring_as_ptrdyn* 時不要 ICE-Cdebuginfo 的新選項和命名別名non_exhaustive_omitted_patterns lint 的範圍CastKind::Transmute 代碼中的幾個 ICEsymlink_junction中的缓冲区溢出edit_distance_with_substrings存在多个候选项时的问题GeneratorWitnessMIR的支持as语句的右边缺少特性时提供更具描述性的错误信息FnPtr候选项struct中-use-gnu-stack的使用owning_refis_some_andtry_canonicalize并在std::fs::canonicalize上使用它needless_return: 不要在模糊的匹配分支返回时触发manual_slice_size_calculationtests_outside_test_module lintsuspicious_doc_commentsmem_replace_option_with_none 未考虑字段变量的问题single_component_path_imports 在 self::<import>::.. 上误报的问题lookup_conf_file 中获取父目录的 bugredundant_async_block 成为一个更完整的后期检测double_must_use for async functionsinfer_expr_coerce_never() 中统一类型如果您正在舉辦一個Rust活動,請將其添加到 日曆 以在這裡提到。 請記得添加活動的鏈接。 請通過電子郵件聯繫 Rust 社區團隊 獲取訪問權限。
请查看最新的 r/rust 招聘帖子
作为一个对
Pin的作用一无所知的专家,我可以很专业地断言,其他一无所知的读者在理解Pin方面遇到了困难。
感谢 bugaevc 的建议!
本周 Rust 新闻编辑: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
Email list hosting 由 The Rust Foundation 赞助