Skip to content

Commit a9e0a92

Browse files
committed
Address Matthew Jasper's points.
1 parent 3e0b0f5 commit a9e0a92

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/items/implementations.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,14 @@ Implementations are defined with the keyword `impl`.
99

1010
## Bare Implementations
1111

12-
A bare implementation is defined as the keyword `impl` optionally followed by
13-
generic type declarations followed by a [nominal] type optionally followed by
14-
where clauses followed by a set of zero or more associable items contained
15-
within braces.
16-
17-
sequence of 'impl' keyword, generic type declarations, nominal type, where clause and the associable items. Generic type declarations and where clause can be omitted, if not needed. The associable items are contained within braces.
18-
1912
A bare implementation is defined as the sequence of the `impl` keyword, generic
2013
type declarations, a path to a nomial tyupe, a where clause, and a bracketed
2114
set of associable items.
2215

2316
The nominal type is called the *implementing type* and the associable items are
2417
the *associated items* to the implementing type.
2518

26-
Bare implementations associates the associated items to the implementing type.
19+
Bare implementations associate the associated items to the implementing type.
2720

2821
The associated item has a path of a path to the implementing type followed by
2922
the associate item's path component.
@@ -117,13 +110,9 @@ the following conditions:
117110

118111
```ignore
119112
T = C
120-
| [T]
121-
| [T, ..n]
122113
| &T
123114
| &mut T
124115
| Box<T>
125-
| (..., T, ...)
126-
| X<..., T, ...> where X is not bivariant with respect to T
127116
```
128117

129118
## Generic Implementations

0 commit comments

Comments
 (0)