From: bors Date: Fri, 16 Jan 2015 06:31:03 +0000 (+0000) Subject: Merge pull request #21214 from sleepynate/spacing-in-book X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f3d71be65cccfddd232e733c11129ed53961f980;hp=ea9b00fdadecbbe3961a84122a37a4700c6335da;p=rust.git Merge pull request #21214 from sleepynate/spacing-in-book Fix commented graphs in src/doc/trpl/ownership.md Reviewed-by: huonw --- diff --git a/src/doc/trpl/ownership.md b/src/doc/trpl/ownership.md index 011746cf5b1..7a397ce5354 100644 --- a/src/doc/trpl/ownership.md +++ b/src/doc/trpl/ownership.md @@ -326,7 +326,7 @@ valid for. For example: ```rust fn main() { - let y = &5; // -+ y goes into scope + let y = &5; // -+ y goes into scope // | // stuff // | // | @@ -341,7 +341,7 @@ struct Foo<'a> { } fn main() { - let y = &5; // -+ y goes into scope + let y = &5; // -+ y goes into scope let f = Foo { x: y }; // -+ f goes into scope // stuff // | // | @@ -360,7 +360,7 @@ fn main() { let x; // -+ x goes into scope // | { // | - let y = &5; // ---+ y goes into scope + let y = &5; // ---+ y goes into scope let f = Foo { x: y }; // ---+ f goes into scope x = &f.x; // | | error here } // ---+ f and y go out of scope