diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-15 05:14:46 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-15 10:23:45 +0530 |
| commit | 09e5a7a04ef6500d44efa55c32ee2956f629133f (patch) | |
| tree | 724e15f585ad74cd949d7211cb51e0620b3e3c5b /src | |
| parent | 34ce3761404c417be756f8fcc030c210b8e34117 (diff) | |
| parent | c8e4f61ad364e97614d095d5ac3beb2319e9a850 (diff) | |
| download | rust-09e5a7a04ef6500d44efa55c32ee2956f629133f.tar.gz rust-09e5a7a04ef6500d44efa55c32ee2956f629133f.zip | |
Rollup merge of #23367 - EduardoBautista:fix-indentation-in-book, r=steveklabnik
It was using tabs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/method-syntax.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/trpl/method-syntax.md b/src/doc/trpl/method-syntax.md index 0625d649e30..59be8c6704f 100644 --- a/src/doc/trpl/method-syntax.md +++ b/src/doc/trpl/method-syntax.md @@ -187,13 +187,13 @@ impl CircleBuilder { } fn coordinate(&mut self, coordinate: f64) -> &mut CircleBuilder { - self.coordinate = coordinate; - self + self.coordinate = coordinate; + self } fn radius(&mut self, radius: f64) -> &mut CircleBuilder { - self.radius = radius; - self + self.radius = radius; + self } fn finalize(&self) -> Circle { |
