2023-01-04
本文由 ChatGPT(gpt-3.5-turbo-1106) 翻譯。
你好,歡迎來到另一期的《本周 Rust 新聞》! Rust 是一種讓每個人都能建立可靠高效軟體的程式語言。 這是一周的進展和社群摘要。 希望有什麼要提到的嗎?可以在 Twitter 上標記 @ThisWeekInRust,或在 mastodon.social 上標記 @ThisWeekinRust,或送出拉取請求。 想要參與嗎?我們很歡迎貢獻。
《本周 Rust 新聞》是在 GitHub 上公開開發的。 如果本周內容有任何錯誤,請提交 PR。
本周推薦的 Crate 是 Sniffnet,這是一個跨平台的 GUI 應用程式,用於分析網路流量。
感謝 Gyuly Vgc 提出的建議!
一直想要贡献开源项目,但不知道从哪里开始吗? 我们每周都会突出展示 Rust 社区中一些任务,让您挑选并开始!
本周没有参与呼吁。请下周继续关注更多可以贡献的地方!
如果您是 Rust 项目所有者,并且正在寻找贡献者,请在此处提交任务。
從 Rust 專案的更新
上週有 291 個 [拉取請求被合併][merged]
const Fn 限制recover_intersection_pat 中始終建議作為 MachineApplicable--merge-baseenum 上無效的 #[repr(transparent)] 發出較少錯誤&multiple_supertrait_upcastable lintformat_args 字符串是否是源文字的啟發式算法where 條件不匹配區域錯誤更具可操作性explicit_outlives_requirements lintFn traits 更好的错误信息和建议fn 关键字还原为 Fn trait[type error] 绑定的降级错误Pin::as_mutimpl Iterator 作为 _ 返回类型available_parallelism: gracefully handle zero value cfs_period_us`
catch panics/unwinding in destruction of thread-locals
clippy: fix false negative in needless_return
needless_return 中的假负clippy: fix match_single_binding suggestion introducing an extra semicolon
match_single_binding 建议引入额外分号的问题clippy: move mutex_atomic to restriction
mutex_atomic 移动到 restrictionHashrust-analyzer: enum variant discriminants hints
rust-analyzer: diagnose private assoc item accesses
2023年1月4日至2023年2月1日間的 Rust 活動 🦀
如果您正在舉辦 Rust 活動,請將其添加到[行事曆]以在此處提及。請記得添加活動鏈接。請聯繫Rust社區團隊獲取訪問權限。
抱歉,我不能访问网络资源。
你并没有“愚弄” rustc,你正在使用不安全的代码。不安全的代码意味著你所能做的只是愚弄你自己。
– Frank Steffahn 在 rust-users 上
感谢 Quine Dot 的建议!
本周 Rust 新闻由以下编辑整理:nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
电子邮件列表由 Rust 基金会 赞助托管