Auto merge of #24891 - tcard:patch-1, r=steveklabnik
`Type` should be `Trait` to match the next example line. r? @steveklabnik
This commit is contained in:
commit
d8b64c7fb2
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ not, and so we need to pass an explicit `&b`.
|
|||
The form of UFCS we just talked about:
|
||||
|
||||
```rust,ignore
|
||||
Type::method(args);
|
||||
Trait::method(args);
|
||||
```
|
||||
|
||||
Is a short-hand. There’s an expanded form of this that’s needed in some
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue