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