Fix some copyediting in TRPL: method-syntax

As this example got changed, we stopped showing how to return self as
the first example, so this text is outdated.

Fixes #25803
This commit is contained in:
Steve Klabnik 2015-06-09 15:49:54 -04:00
parent 7b0f2af27f
commit a95b48c2dd

View File

@ -86,8 +86,8 @@ impl Circle {
# Chaining method calls
So, now we know how to call a method, such as `foo.bar()`. But what about our
original example, `foo.bar().baz()`? This is called method chaining, and we
can do it by returning `self`.
original example, `foo.bar().baz()`? This is called method chaining. Lets
look at an example:
```rust
struct Circle {