Skip to content

Commit

Permalink
Fix indentation in a code example in the ownership guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbranchaud committed Dec 14, 2014
1 parent 52f7a4a commit 5c29df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide-ownership.md
Original file line number Diff line number Diff line change
Expand Up @@ -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); // |
Expand Down

0 comments on commit 5c29df6

Please sign in to comment.