diff options
| author | Jonathan Bailey <jbailey@jbailey-20809.local> | 2014-05-21 02:48:23 -0700 |
|---|---|---|
| committer | Jonathan Bailey <jbailey@jbailey-20809.local> | 2014-05-21 02:48:23 -0700 |
| commit | e549601bc8a612d96558c26d801a1da6e71222b7 (patch) | |
| tree | bf25394a106d5581ca16329e7016f0114800ec1e | |
| parent | 4dff9cbf58bb7a274a693eb7d19006402945fc7e (diff) | |
| download | rust-e549601bc8a612d96558c26d801a1da6e71222b7.tar.gz rust-e549601bc8a612d96558c26d801a1da6e71222b7.zip | |
Updated doc with correct type.
| -rw-r--r-- | src/doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 4e3688a060d..0b076dcde5d 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -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 |
