diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-10 16:34:55 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-13 23:22:07 -0800 |
| commit | 289ba105ae613291f0a3a16ef295875130abdc49 (patch) | |
| tree | 3e97ccf67383cca4abcc51dd2477d619eecc1ec9 /doc/tutorial.md | |
| parent | caf316a31e7de9536b6db834996c67c74c32f53b (diff) | |
| download | rust-289ba105ae613291f0a3a16ef295875130abdc49.tar.gz rust-289ba105ae613291f0a3a16ef295875130abdc49.zip | |
dox: Write a guide to the rust runtime
Diffstat (limited to 'doc/tutorial.md')
| -rw-r--r-- | doc/tutorial.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index bb5e1bdd7bc..fd92a4cc080 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -2067,7 +2067,7 @@ fn head_bad<T>(v: &[T]) -> T { However, we can tell the compiler that the `head` function is only for copyable types. -In Rust, copyable types are those that _implement the `Clone` trait_. +In Rust, copyable types are those that _implement the `Clone` trait_. We can then explicitly create a second copy of the value we are returning by calling the `clone` method: @@ -3282,6 +3282,7 @@ guides on individual topics. * [Packaging up Rust code][rustpkg] * [Documenting Rust code][rustdoc] * [Testing Rust code][testing] +* [The Rust Runtime][runtime] There is further documentation on the [wiki], however those tend to be even more out of date as this document. @@ -3294,6 +3295,7 @@ There is further documentation on the [wiki], however those tend to be even more [conditions]: guide-conditions.html [rustpkg]: guide-rustpkg.html [testing]: guide-testing.html +[runtime]: guide-runtime.html [rustdoc]: rustdoc.html [wiki]: https://github.com/mozilla/rust/wiki/Docs |
