We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dff9cb commit e549601Copy full SHA for e549601
src/doc/tutorial.md
@@ -944,7 +944,7 @@ struct Foo { x: int, y: Box<int> }
944
// `a` is the owner of the struct, and thus the owner of the struct's fields
945
let a = Foo { x: 5, y: box 10 };
946
}
947
-// 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
948
// field is called
949
950
// `b` is mutable, and the mutability is inherited by the objects it owns
0 commit comments