about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-10-06 22:45:48 -0700
committerBrian Anderson <banderson@mozilla.com>2012-10-06 22:45:48 -0700
commitb6443519c8b325bd554e8ea7283b02ebe1632e8f (patch)
treebef41bde042d0a8a1afc8497a45193cd86b2b6f4
parentfe5526f49c824b73b00dd8f43bf9b6f97aa2a9a0 (diff)
downloadrust-b6443519c8b325bd554e8ea7283b02ebe1632e8f.tar.gz
rust-b6443519c8b325bd554e8ea7283b02ebe1632e8f.zip
Remove some redundant info from tutorial
-rw-r--r--doc/tutorial.md14
1 files changed, 1 insertions, 13 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index 1dac6468fdc..e64de6134d7 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -686,19 +686,7 @@ For more involved iteration, such as going over the elements of a
 collection, Rust uses higher-order functions. We'll come back to those
 in a moment.
 
-# Basic datatypes
-
-The core datatypes of Rust are structs, enums (tagged unions, algebraic data
-types), and tuples. They are immutable by default.
-
-~~~~
-struct Point { x: float, y: float }
-
-enum Shape {
-    Circle(Point, float),
-    Rectangle(Point, Point)
-}
-~~~~
+# Data structures
 
 ## Structs