?? Yet another version of #rustlang, Rust 1.67.0, has just been released!
This one is a relatively small release. So, short release thread:
? 1/6
?? Yet another version of #rustlang, Rust 1.67.0, has just been released!
This one is a relatively small release. So, short release thread:
? 1/6
For more details and a complete list of changes in Rust 1.67, check out the announcement and release notes:
Announcement: https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
Release notes:
Rust: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1670-2023-01-26
Cargo: https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-167-2023-01-26
Clippy: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-167
Enjoy!
6/6
Clippy has a number of exciting new lints: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#new-lints
For example, you can now enable #![warn(clippy::manual_let_else)] to tell you about some situations where you could use the recently introduced let-else syntax.
5/6
The integer types now have (integer) logarithm methods: ilog, ilog10, ilog2. (And zero-checking versions: checked_ilog, checked_ilog10, and checked_ilog2.)
ilog2 is implemented using leading_zeros(), so is very efficient.
All of these methods usable in const context too.
4/6
std::sync::mpsc has a new implementation, based on crossbeam-channel.
The old implementation had some issues and was hard to maintain. The new implementation fixes some small but long-standing bugs and has better performance.
(The public interface remains unchanged.)
3/6
A must_use attribute on async functions now does what you expect.
#[must_use]
async fn hey() -> Thing { … }
Now, #[must_use] applies to `Thing`, instead of to the `impl Future<Output=Thing>` (which wasn't very useful).
2/6
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.