Whatвђ™s New In Rust 1.47 May 2026

: 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:

Several new APIs were added to the stable standard library, including:

Many existing methods were made const , allowing them to be used in constant contexts: The new method for all NonZero integers. What’s new in Rust 1.47

Walk through how to enable on your Windows builds. What would be most helpful for your current project?

Result::as_deref and Result::as_deref_mut : Useful for working with references inside Result types. : Added the Ayu theme to the documentation

Vec::leak : Allows "leaking" a vector to obtain a mutable reference that lives for the remainder of the program's life.

Compare these changes with more recent versions like . What would be most helpful for your current project

: The compiler now supports the -C control-flow-guard option for Windows platforms, providing an extra layer of security against memory corruption vulnerabilities.