Improve code reuse between trans/_match.rs and check_match.rs
The specialization logic for patterns is really the same in both exhaustiveness/reachability checking and codegen.
This commit is contained in:
parent
e6c54a12c4
commit
6b6edf4702
4 changed files with 112 additions and 508 deletions
|
|
@ -2155,8 +2155,6 @@ These are functions:
|
|||
|
||||
* `str_eq`
|
||||
: Compare two strings (`&str`) for equality.
|
||||
* `uniq_str_eq`
|
||||
: Compare two owned strings (`String`) for equality.
|
||||
* `strdup_uniq`
|
||||
: Return a new unique string
|
||||
containing a copy of the contents of a unique string.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue