about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-08-20 21:17:20 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-08-20 21:17:20 +0200
commita274a64669b669c6106bea76ffdb6d09ded655bd (patch)
treec9dc77bb8220765cca9c85d547d2d95685df62cb /src
parentaca2057ed5fb7af3f8905b2bc01f72fa001c35c8 (diff)
downloadrust-a274a64669b669c6106bea76ffdb6d09ded655bd.tar.gz
rust-a274a64669b669c6106bea76ffdb6d09ded655bd.zip
nomicon: use current syntax
Diffstat (limited to 'src')
-rw-r--r--src/doc/nomicon/coercions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/nomicon/coercions.md b/src/doc/nomicon/coercions.md
index 2e33a6729d1..1d2897ce3bd 100644
--- a/src/doc/nomicon/coercions.md
+++ b/src/doc/nomicon/coercions.md
@@ -22,7 +22,7 @@ Coercion is allowed between the following types:
 for all pointer types (including smart pointers like Box and Rc). Unsize is
 only implemented automatically, and enables the following transformations:
 
-* `[T, ..n]` => `[T]`
+* `[T; n]` => `[T]`
 * `T` => `Trait` where `T: Trait`
 * `Foo<..., T, ...>` => `Foo<..., U, ...>` where:
     * `T: Unsize<U>`