You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-30 12:29:40 +02:00
Clarify that pattern matching consumes enum variant by default Describe two ways to borrow the variant without consuming it. Fixes #1491.