你好,欢迎再来一期本周的螃蟹行情!Rust是一种追求三位一体的系统语言:安全性、并发性和速度。这是它的进展和社区的每周总结。有什么要说的吗?推特@ThisWeekInRust或向我们发送请求。 想参与吗?我们热爱贡献.
这本周的螃蟹行情是在在 Github 上公开的。如果你在本周的问题中发现任何错误,请提交 PR。
这周的箱子是dotenv-linter,用于.env文件的 linter。
谢谢Grachev Mikhail的建议!
一直想为开源项目做贡献,但不知道从哪里开始?每周我们都会重点介绍 Rust 社区的一些任务,供您选择和开始!
其中一些任务也可能有导师,请访问任务页面以获取更多信息。
如果您是 Rust 项目的所有者并且正在寻找贡献者,请提交任务这里。
共有 391 个拉取请求在上周合并
? operator 的 type inference errors_ and .. if a pattern has too few fieldsasync {} for async || {}hir::ExprKind::Ifdef_id lookupsexhaustive_patterns perfItem::AttributesOnce 而不是 Mutex to manage capture resolutionBufReader::read_exactMaybeUninit 方法 array_assume_initBinaryHeap::append rebuild heuristicptr::writeRef, RefMut}::try_map' for optional projections inRefCell`Weak::as_ptr and friends for unsized TIterator::intersperse_withTrustedRandomAaccess specialization 不正确地组成 嵌套的 iter::ZipsVecDeque::{front/back}(_mut) 中接触不到的 panicNonZeroUn::is_power_of_twosplit_inclusivepoll_map featureas_rchunks (and friends) to slicesGlobalAllocError,就像 Allocator一样regex::Replacer for String, &String, Cow<'a, str>, &Cow<'a, str>sink::unfold()分类由@rylev 完成。
见full report更多。
对 Rust 的更改跟随 RustRFC (request for comments) process。以下是本周批准实施的 RFC:
本周未批准任何 RFC。
每周the team宣布即将做出决定的 RFC 和主要 PR 的“最终评论期”。立即发表您的意见。
core::slice::fill_withunsigned_absiteratorcore::array::IntoIter`asmut<str> for strcargo test -- --include-ignored-Zrun-dsymutil as -Csplit-debuginfoseek::stream_position (feature seek_convenience)本周没有提议新的 RFC。
为什么我在泛型闭包参数名称中,使用字母“o”?[…]我最近意识到,由于 Rust 使用管道来封装参数块,因此使用’o’可使该块看起来像是 TIE 战斗机(|o|《星球大战》里的一种星际战斗机)。我不是一个非常严肃的人。
Thanks to Edoardo Morandi for the suggestion.
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, and cdmistman.