Skip to content

Commit 1edb0e5

Browse files
committed
auto merge of #14324 : zecozephyr/rust/docfix, r=luqmana
2 parents a400b31 + e549601 commit 1edb0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ struct Foo { x: int, y: Box<int> }
944944
// `a` is the owner of the struct, and thus the owner of the struct's fields
945945
let a = Foo { x: 5, y: box 10 };
946946
}
947-
// when `a` goes out of scope, the destructor for the `~int` in the struct's
947+
// when `a` goes out of scope, the destructor for the `Box<int>` in the struct's
948948
// field is called
949949
950950
// `b` is mutable, and the mutability is inherited by the objects it owns

0 commit comments

Comments
 (0)