Skip to content

Commit f98beb2

Browse files
committed
Remove "compound type bounds" from syntax index
On the branch, the syntax index had used "compound type bounds" to refer to a bound with a `+` in it. This isn't a term we use elsewhere; let's not use it here.
1 parent d2f1f6b commit f98beb2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/syntax-index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ This appendix provides an index of tokens and common forms with links to where t
228228
|---------------------------------------|-------|
229229
| `bool`, `u8`, `f64`, `str`, `` | [primitive types] |
230230
| `for<…>` | [higher-ranked trait bounds] |
231-
| `T: U` | [trait bounds] |
232-
| `T: 'a` | [lifetime bounds] |
231+
| `T: TraitA + TraitB` | [trait bounds] |
232+
| `T: 'a + 'b` | [lifetime bounds] |
233+
| `T: TraitA + 'a` | [trait and lifetime bounds] |
233234
| `T: ?Sized` | [relaxed trait bounds] |
234-
| `'a + Trait`<br>`Trait + Trait` | [compound type bounds] |
235235
| `[Type; len]` | [array types] |
236236
| `(Type, …)` | [tuple types] |
237237
| `[Type, …]` | [slice types] |
@@ -417,6 +417,7 @@ This appendix provides an index of tokens and common forms with links to where t
417417
[structs]: items.struct
418418
[subpattern binding]: patterns.ident.scrutinized
419419
[super paths]: paths.qualifiers.super
420+
[trait and lifetime bounds]: bound
420421
[trait bounds]: bound
421422
[trait implementations]: items.impl.trait
422423
[trait impls]: items.impl.trait

0 commit comments

Comments
 (0)