Skip to content

Commit 458fae7

Browse files
committed
Rollup merge of #32618 - ProgVal:patch-1, r=steveklabnik
Book: Fix phrasing: “an associated type” → “an object with an associated type”. From what I understood, `graph` is the object from which we create a trait object, and the associated types are `Graph::N` and `Graph::E`.
2 parents cb5af89 + b1b3738 commit 458fae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/associated-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ declarations.
131131
## Trait objects with associated types
132132

133133
There’s one more bit of syntax we should talk about: trait objects. If you
134-
try to create a trait object from an associated type, like this:
134+
try to create a trait object from a trait with an associated type, like this:
135135

136136
```rust,ignore
137137
# trait Graph {

0 commit comments

Comments
 (0)