We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8414f1 commit c67ebb5Copy full SHA for c67ebb5
patterns.md
@@ -25,7 +25,7 @@ Most of the time there are no extra soundness concerns due to const-patterns; ex
25
However, there is one exception: some constants participate in exhaustiveness checking.
26
If a pattern is incorrectly considered exhaustive, that leads to a critical soundness bug.
27
28
-Exhaustiveness checking is done for constants of type TODO, as well as `&[u8]` and `&str` (but no other types with references).
+Exhaustiveness checking is done for all constants that do not have reference type, as well as `&[u8]` and `&str`.
29
This means we can write:
30
```rust
31
#![feature(exclusive_range_pattern)]
0 commit comments