Rust 1.100.1 点版本发布:修复 Iterator impl 推断回归
Announcing Rust 1.100.1
Rust 团队发布 1.100.1 点版本,修复了部分类型未被推断为具有 Iterator impl 的回归问题。此次修复通过回退 Rust 1.100.0 中对 Iterator 不稳定 const 版本的改动实现,该改动本无法被稳定代码使用,却意外影响了部分类型的推断。已通过 rustup 安装的用户执行 rustup update stable 即可升级。
{"t": ["
Rust 团队发布了 Rust 的一个新的小版本:1.100.1。Rust 是一门赋能每个人构建可靠且高效软件的编程语言。
如果你已通过 rustup 安装了之前的 Rust 版本,获取 Rust 1.100.1 只需执行如下命令:
$ rustup update stable如果你还没有安装过,可以从我们网站的相应页面获取 rustup。
如果你愿意通过测试未来的版本来帮助我们,可以考虑在本地更新为使用 beta 通道(rustup default beta)或 nightly 通道(rustup default nightly)。如果遇到任何 bug,请向我们 报告!
\n1.100.1 的新内容
Rust 1.100.1 修复了一个 回归问题:某些类型未被推断为拥有 Iterator 实现。
我们回退了 Rust 1.100.0 中对 Iterator 的不稳定 const 版本所做的一项更改,该版本实际上无法被稳定代码使用,但却意外地导致一些拥有有效 Iterator 实现的类型无法被视为真正实现了 Iterator。
\n1.100.1 的贡献者
许多人齐心协力共同打造了 Rust 1.100.1。没有大家的参与,我们不可能做到这一切。感谢!
"]}
The Rust team has published a new point release of Rust, 1.100.1. Rust is a programming language that is empowering everyone to build reliable and efficient software.
If you have a previous version of Rust installed via rustup, getting Rust 1.100.1 is as easy as:
$ rustup update stableIf you don't have it already, you can get rustup from the appropriate page on our website.
If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel (rustup default beta) or the nightly channel (rustup default nightly). Please report any bugs you might come across!
What's in 1.100.1
Rust 1.100.1 fixes a regression where some types were not inferred as having Iterator impls.
We reverted a change to the unstable const version of Iterator in Rust 1.100.0,
which cannot actually be used by stable code, but accidentally prevented some types
with valid Iterator impls from being seen as actually implementing Iterator.
Contributors to 1.100.1
Many people came together to create Rust 1.100.1. We couldn't have done it without all of you. Thanks!