1.6 Rust Edition System: 2015, 2018, 2021, and How Editions Work
Right, let’s talk about Rust’s Editions. This is one of those things that sounds way more complicated and scary than it actually is. The short version is: an edition is a mechanism for the Rust project to release backwards-incompatible changes without, you know, actually breaking everyone’s code. It’s a clever hack, and frankly, it’s one of the most brilliant and pragmatic pieces of social engineering in modern programming language design.