diff options
| author | Toni Cárdenas <toni@tcardenas.me> | 2015-04-28 11:10:01 +0200 |
|---|---|---|
| committer | Toni Cárdenas <toni@tcardenas.me> | 2015-04-28 11:10:01 +0200 |
| commit | df1768d8eb13d70e7f074349da5f01e48d0e6c4c (patch) | |
| tree | 5d243ffa543d87e751093cb2877dda3142ca33c3 | |
| parent | da2276e293359708b62bb489801cb9872d19d32f (diff) | |
| download | rust-df1768d8eb13d70e7f074349da5f01e48d0e6c4c.tar.gz rust-df1768d8eb13d70e7f074349da5f01e48d0e6c4c.zip | |
TRPL: Tiny incoherence in UFCS example.
`Type` should be `Trait` to match the next example line. r? @steveklabnik
| -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 |
