Skip to content

Commit e8a93ea

Browse files
committed
Fix Type as Trait capitalization
Elsewhere in this table, we spell `Type` and `Trait` in uppercase, so let's do that here as well.
1 parent a514517 commit e8a93ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syntax-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ This appendix provides an index of tokens and common forms with links to where t
170170
| `crate::…` | [crate-relative paths] |
171171
| `self::…` | [module-relative paths] |
172172
| `super::…` | [parent module paths] |
173-
| `Type::…`<br>`<type as trait>::ident` | [associated items] |
173+
| `Type::…`<br>`<Type as Trait>::ident` | [associated items] |
174174
| `<Type>::…` | [qualified paths] which can be used for types without names such as `<&T>::…`, `<[T]>::…`, etc. |
175175
| `Trait::method(…)`<br>`Type::method(…)`<br>`<Type as Trait>::method(…)` | [disambiguated method calls] |
176176
| `Type<…>` | [generic arguments] (e.g. `Vec<u8>`) <!-- TODO: fix after generic args reorg --> |

0 commit comments

Comments
 (0)