about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlfie John <alfiej@fastmail.fm>2015-01-17 23:31:13 +0000
committerAlfie John <alfiej@fastmail.fm>2015-01-17 23:31:13 +0000
commit8da284a045c4d59a850f63fe9a11ab7ddb38ef17 (patch)
tree9a20c36c1f117a3a943b234c9f082011cdf3dd93
parentf4f10dba2975b51c2d2c92157018db3ac13d4d4a (diff)
downloadrust-8da284a045c4d59a850f63fe9a11ab7ddb38ef17.tar.gz
rust-8da284a045c4d59a850f63fe9a11ab7ddb38ef17.zip
docs: typo
-rw-r--r--src/doc/reference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index a27d6c6e268..5c3c075e01c 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -3423,7 +3423,7 @@ Used inside an array pattern, `..` stands for any number of elements, when the
 `advanced_slice_patterns` feature gate is turned on. This wildcard can be used
 at most once for a given array, which implies that it cannot be used to
 specifically match elements that are at an unknown distance from both ends of a
-array, like `[.., 42, ..]`. If followed by a variable name, it will bind the
+array, like `[.., 42, ..]`. If preceded by a variable name, it will bind the
 corresponding slice to the variable. Example:
 
 ```