你好,欢迎再来一期本周的螃蟹行情!Rust是一种追求三位一体的系统语言:安全性、并发性和速度。这是它的进展和社区的每周总结。有什么要说的吗?推特@ThisWeekInRust或向我们发送请求。 想参与吗?我们热爱贡献.
这本周的螃蟹行情是在在 Github 上公开的。如果你在本周的问题中发现任何错误,请提交 PR。
这周的箱子是threadIO,让后台线程中磁盘 IO,简单且优雅 的箱子。
谢谢David Andersen的建议!
一直想为开源项目做贡献,但不知道从哪里开始?每周我们都会重点介绍 Rust 社区的一些任务,供您选择和开始!
其中一些任务也可能有导师,请访问任务页面以获取更多信息。
紫红色有几个可用的问题:
如果您是 Rust 项目的所有者并且正在寻找贡献者,请提交任务这里。
共有 384 个拉取请求在上周合并
Box the biggest ast::ItemKind variantsassert!() - 调用错误版本的panic!()Allocator object-safeVec::extend_from_within method under vec_extend_from_within feature gateBTreeMap: make Ord bound explicit, compile-test its absenceTrustedLen for Fuse<I: TrustedLen>Iterator::fold_first to reduce and stabilize itWake traitpeekable_next_ifOnce, rename poisoned()const fnonce_cell in static wakersFrom<HashMap<T, ()>> for HashSet<T>cargo test and cargo run--error-format short in doctestslet_underscore_drop false positivelet_and_return false positiveexhaustive_structs for structs with private fieldsmissing_panics_doc本周没有分类报告
对 Rust 的更改跟随 RustRFC (request for comments) process。以下是本周批准实施的 RFC:
每周the team宣布即将做出决定的 RFC 和主要 PR 的“最终评论期”。立即发表您的意见。
impl PartialEq<Punct> for char; symmetry for #78636Arc<impl Error>.NotSupported to std::io::ErrorKindOption::expect_none(msg) and unwrap_none()Rust 的主题不是系统编程,速度或内存安全性 —— 而是它将运行时问题转移到编译时上。其他一切都是偶然的。这是作为一种语言的宝贵品质,也是 Rust 出色的一面。
– /u/OS6aDohpegavod4 on /r/rust
Thanks to Chris for the suggestion.
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, and cdmistman.