about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-17 08:34:11 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-17 11:50:26 -0800
commitf7cb5b6c20f06831866668e0303910150cff22ff (patch)
tree249b5a22703eb6fd14b902eca7b8107656043963
parent924cd5a6d6b7a9901644eb2a4791b80e8d9a74fd (diff)
parent5c29df6b28a82d1c74c9d799f82daac81f0304d8 (diff)
downloadrust-f7cb5b6c20f06831866668e0303910150cff22ff.tar.gz
rust-f7cb5b6c20f06831866668e0303910150cff22ff.zip
rollup merge of #19845: jbranchaud/fix-indentation-in-ownership-guide
For reference, this is what the code example looks like before the change:

![screen shot 2014-12-14 at 12 12 58 pm](https://cloud.githubusercontent.com/assets/694063/5428475/ade24176-838a-11e4-870b-c7d4f55bc8d7.png)
-rw-r--r--src/doc/guide-ownership.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide-ownership.md b/src/doc/guide-ownership.md
index ddabb1de765..242dfe46d6b 100644
--- a/src/doc/guide-ownership.md
+++ b/src/doc/guide-ownership.md
@@ -341,7 +341,7 @@ fn main() {
     {                         //  |
         let y = &5i;          // ---+ y goes into scope
         let f = Foo { x: y }; // ---+ f goes into scope
-	x = &f.x;	      //  | | error here
+        x = &f.x;             //  | | error here
     }                         // ---+ f & y go out of scope
                               //  |
     println!("{}", x);        //  |