Version 1.33 of the Rust systems programming language is now readily available.
Present version: What’s new in Rust 1.33
Rust 1.33 debuted in late February 2019 with the following new options:
- A new language notion, known as pinning, is now readily available. Pinning permits the developer to specify an object in memory that is assured not to move. The Pin variety and the Unpin marker trait are utilised to implement this.
const fndeclaration, utilised to declare functions that can be known as in continual expressions at compile time, has been expanded to cover quite a few a lot more use circumstances, such as
letbindings (which includes mutable ones), assignment expressions, and expression statements. In brief, the
const fndeclaration tends to make a lot more of the language readily available in a compile-time context.
use n as _syntax permits you to import the
implof a trait without having polluting the namespace it is imported into.
- Numerous library components have been stabilized by becoming made