For the longest time, I thought that "sealed trait" in Rust was a singular concept implementable in one specific way. To prevent downstream crates from implementing your traits, you make the traits sealed — done, end of story. I was wrong!It turns out there are multiple ways to seal traits, forming a pleasant spectrum of options:| Predrag Gruevski's blog and personal site.
Undefined behavior (UB) is a tricky concept in programming languages and compilers.| Predrag Gruevski's blog and personal site.
Making Rust better for everyone while working on `cargo-semver-checks`| predr.ag
[attributes.codegen]| doc.rust-lang.org
[undefined]| doc.rust-lang.org