We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e92106 commit 1d2e3ffCopy full SHA for 1d2e3ff
src/librustc_error_codes/error_codes/E0730.md
@@ -1,6 +1,6 @@
1
An array without a fixed length was pattern-matched.
2
3
-Example of erroneous code:
+Erroneous code example:
4
5
```compile_fail,E0730
6
#![feature(const_generics)]
@@ -14,8 +14,8 @@ fn is_123<const N: usize>(x: [u32; N]) -> bool {
14
}
15
```
16
17
-Ensure that the pattern is consistent with the size of the matched
18
-array. Additional elements can be matched with `..`:
+Ensure that the pattern is consistent with the size of the matched array.
+Additional elements can be matched with `..`:
19
20
21
let r = &[1, 2, 3, 4];
0 commit comments