]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #14324 : zecozephyr/rust/docfix, r=luqmana
authorbors <bors@rust-lang.org>
Wed, 21 May 2014 13:21:25 +0000 (06:21 -0700)
committerbors <bors@rust-lang.org>
Wed, 21 May 2014 13:21:25 +0000 (06:21 -0700)
src/doc/tutorial.md

index 4e3688a060d2138febd799b2afbaa0d01899b1ef..0b076dcde5db16b900066c4d83e46039b165a874 100644 (file)
@@ -944,7 +944,7 @@ struct Foo { x: int, y: Box<int> }
     // `a` is the owner of the struct, and thus the owner of the struct's fields
     let a = Foo { x: 5, y: box 10 };
 }
-// when `a` goes out of scope, the destructor for the `~int` in the struct's
+// when `a` goes out of scope, the destructor for the `Box<int>` in the struct's
 // field is called
 
 // `b` is mutable, and the mutability is inherited by the objects it owns