about summary refs log tree commit diff
diff options
context:
space:
mode:
authorToni Cárdenas <toni@tcardenas.me>2015-04-28 11:10:01 +0200
committerToni Cárdenas <toni@tcardenas.me>2015-04-28 11:10:01 +0200
commitdf1768d8eb13d70e7f074349da5f01e48d0e6c4c (patch)
tree5d243ffa543d87e751093cb2877dda3142ca33c3
parentda2276e293359708b62bb489801cb9872d19d32f (diff)
downloadrust-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.md2
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