Skip to content

Commit 1438d40

Browse files
committed
Revise editorially
1 parent a19347a commit 1438d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ In particular, the value of `C` must be known at pattern-building time (which is
976976
This means that associated consts that involve generic parameters cannot be used as patterns.
977977

978978
r[patterns.const.immutable]
979-
Finally, the value of `C` must not contain any references to mutable statics (`static mut` or interior mutable) or `extern` statics.
979+
The value of `C` must not contain any references to mutable statics (`static mut` or interior mutable `static`) or `extern` statics.
980980

981981
r[patterns.const.translation]
982982
After ensuring all conditions are met, the constant value is translated into a pattern, and now behaves exactly as-if that pattern had been written directly.

0 commit comments

Comments
 (0)