Rust 1.100.1 发布
Rust 发布团队已发布 Rust 1.100.1,这是一个点版本,修复了 Rust 1.100.0 中引入的一个回归问题:某些类型不会被推断为具有 Iterator 实现。
问题源于 1.100.0 中对不稳定版 const Iterator 的改动。尽管该特性无法被稳定版代码使用,这一改动却意外导致一些具有有效 Iterator 实现的类型不再被识别为实现了 Iterator。1.100.1 版本回退了这一改动。
已通过 rustup 安装的用户只需运行 rustup update stable 即可升级。团队还邀请开发者通过 beta 或 nightly 渠道帮助测试未来版本,并报告遇到的任何 bug。
Announcing Rust 1.100.1
The Rust Release Team has published Rust 1.100.1, a point release that fixes a regression introduced in Rust 1.100.0 where some types were not inferred as having Iterator implementations.
The cause was a change to the unstable const version of Iterator in 1.100.0. Although that feature cannot be used by stable code, the change accidentally prevented some types with valid Iterator impls from being recognized as implementing Iterator. The 1.100.1 release reverts that change.
Users with an existing rustup installation can upgrade by running rustup update stable. The team also invites developers to help test future releases via the beta or nightly channels and to report any bugs they encounter.
猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。