From df1768d8eb13d70e7f074349da5f01e48d0e6c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20C=C3=A1rdenas?= Date: Tue, 28 Apr 2015 11:10:01 +0200 Subject: [PATCH] TRPL: Tiny incoherence in UFCS example. `Type` should be `Trait` to match the next example line. r? @steveklabnik --- src/doc/trpl/ufcs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/ufcs.md b/src/doc/trpl/ufcs.md index 2d5c742ddb848..2353c63a606af 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