diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-08-20 21:17:20 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-08-20 21:17:20 +0200 |
| commit | a274a64669b669c6106bea76ffdb6d09ded655bd (patch) | |
| tree | c9dc77bb8220765cca9c85d547d2d95685df62cb /src | |
| parent | aca2057ed5fb7af3f8905b2bc01f72fa001c35c8 (diff) | |
| download | rust-a274a64669b669c6106bea76ffdb6d09ded655bd.tar.gz rust-a274a64669b669c6106bea76ffdb6d09ded655bd.zip | |
nomicon: use current syntax
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/nomicon/coercions.md | 2 |
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>` |
