1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-30 12:29:40 +02:00
Files
comprehensive-rust/src/pattern-matching
Pavel Roskin 14dbc99ed0 Clarify that pattern matching consumes enum variant by default (#1663)
Clarify that pattern matching consumes enum variant by default

Describe two ways to borrow the variant without consuming it.

Fixes #1491.
2024-01-08 10:02:43 +01:00
..
2023-11-29 16:39:24 +01:00
2023-11-29 16:39:24 +01:00