summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pattern/rest-pat-semantic-disallowed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pattern/rest-pat-semantic-disallowed.rs')
-rw-r--r--src/test/ui/pattern/rest-pat-semantic-disallowed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/rest-pat-semantic-disallowed.rs b/src/test/ui/pattern/rest-pat-semantic-disallowed.rs
index 84552f2e7..156285e0f 100644
--- a/src/test/ui/pattern/rest-pat-semantic-disallowed.rs
+++ b/src/test/ui/pattern/rest-pat-semantic-disallowed.rs
@@ -1,5 +1,5 @@
// Here we test that rest patterns, i.e. `..`, are not allowed
-// outside of slice (+ ident patterns witin those), tuple,
+// outside of slice (+ ident patterns within those), tuple,
// and tuple struct patterns and that duplicates are caught in these contexts.
#![feature(box_patterns)]