Show Table of Contents
Chapter 5. Changes in Rust 1.43.0 Toolset
Rust Toolset has been updated from version 1.41.0 to 1.43.0. Notable changes include:
-
Useful line numbers are now included in
Option
andResult
panic messages where they were invoked. - Expanded support for matching on subslice patterns.
-
The
matches!
macro provides pattern matching that returns a boolean value. -
item
fragments can be interpolated into traits, impls, andextern
blocks. - Improved type inference around primitives.
- Associated constants for floats and integers.