Skip to content

Commit d8b64c7

Browse files
committed
Auto merge of #24891 - tcard:patch-1, r=steveklabnik
`Type` should be `Trait` to match the next example line. r? @steveklabnik
2 parents da2276e + df1768d commit d8b64c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/ufcs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ not, and so we need to pass an explicit `&b`.
8989
The form of UFCS we just talked about:
9090

9191
```rust,ignore
92-
Type::method(args);
92+
Trait::method(args);
9393
```
9494

9595
Is a short-hand. There’s an expanded form of this that’s needed in some

0 commit comments

Comments
 (0)