Whatвђ™s New In Rust 1.47 May 2026
Result::as_deref and Result::as_deref_mut : Useful for working with references inside Result types.
: The output of RUST_BACKTRACE was made more readable and compact. Stabilised Library APIs
: Added the Ayu theme to the documentation generator and enhanced the search functionality with a new help button for type-based searches. If you'd like more details, I can: What’s new in Rust 1.47
: A significant standard library change now allows traits like Debug , Default , and PartialEq to be implemented for arrays of any length , lifting the previous restriction of length 32 or less.
Explain how the simplifies your code.
Many existing methods were made const , allowing them to be used in constant contexts: The new method for all NonZero integers.
Range::is_empty and RangeInclusive::is_empty : Simple checks for whether a range contains no values. If you'd like more details, I can: :
: The compiler now supports the -C control-flow-guard option for Windows platforms, providing an extra layer of security against memory corruption vulnerabilities.