diff options
| author | bors <bors@rust-lang.org> | 2015-04-28 14:21:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-28 14:21:22 +0000 |
| commit | d8b64c7fb2809eeba8ff9125cc95c4c38efb9a8a (patch) | |
| tree | 5d243ffa543d87e751093cb2877dda3142ca33c3 /src | |
| parent | da2276e293359708b62bb489801cb9872d19d32f (diff) | |
| parent | df1768d8eb13d70e7f074349da5f01e48d0e6c4c (diff) | |
Auto merge of #24891 - tcard:patch-1, r=steveklabnik
`Type` should be `Trait` to match the next example line. r? @steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/ufcs.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/ufcs.md b/src/doc/trpl/ufcs.md index 2d5c742ddb8..2353c63a606 100644 --- a/src/doc/trpl/ufcs.md +++ b/src/doc/trpl/ufcs.md @@ -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 |
