Skip to content

Commit a05dd93

Browse files
committed
Merge pull request #19845 from jbranchaud/fix-indentation-in-ownership-guide
Fix indentation in a code example in the ownership guide. Reviewed-by: steveklabnik
2 parents 6c84b8d + 5c29df6 commit a05dd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide-ownership.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ fn main() {
341341
{ // |
342342
let y = &5i; // ---+ y goes into scope
343343
let f = Foo { x: y }; // ---+ f goes into scope
344-
x = &f.x; // | | error here
344+
x = &f.x; // | | error here
345345
} // ---+ f & y go out of scope
346346
// |
347347
println!("{}", x); // |

0 commit comments

Comments
 (0)