From 63c043091ed94c04b4ae9dfec32bb34f51cdcacc Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 3 Jul 2012 13:02:09 -0700 Subject: [PATCH] tutorial: Restructure intro materials --- doc/tutorial.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 35dc58007fc..b708f192fee 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -6,18 +6,11 @@ This is a tutorial for the Rust programming language. It assumes the reader is familiar with the basic concepts of programming, and has -programmed in one or more other languages before. The tutorial covers +programmed in one or more other languages before. It will often make +comparisons to other languages in the C family. The tutorial covers the whole language, though not with the depth and precision of the [language reference](rust.html). -## Disclaimer - -Rust is a language under development. The general flavor of the -language has settled, but details will continue to change as it is -further refined. Nothing in this tutorial is final, and though we try -to keep it updated, it is possible that the text occasionally does not -reflect the actual state of the language. - ## First Impressions Though syntax is something you get used to, an initial encounter with @@ -58,6 +51,14 @@ fragments of programs that don't compile on their own. To try them out, you might have to wrap them in `fn main() { ... }`, and make sure they don't contain references to things that aren't actually defined. +## Disclaimer + +Rust is a language under development. The general flavor of the +language has settled, but details will continue to change as it is +further refined. Nothing in this tutorial is final, and though we try +to keep it updated, it is possible that the text occasionally does not +reflect the actual state of the language. + # Getting started ## Installation