Skip to content

Commit b644351

Browse files
committed
Remove some redundant info from tutorial
1 parent fe5526f commit b644351

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

doc/tutorial.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -686,19 +686,7 @@ For more involved iteration, such as going over the elements of a
686686
collection, Rust uses higher-order functions. We'll come back to those
687687
in a moment.
688688

689-
# Basic datatypes
690-
691-
The core datatypes of Rust are structs, enums (tagged unions, algebraic data
692-
types), and tuples. They are immutable by default.
693-
694-
~~~~
695-
struct Point { x: float, y: float }
696-
697-
enum Shape {
698-
Circle(Point, float),
699-
Rectangle(Point, Point)
700-
}
701-
~~~~
689+
# Data structures
702690

703691
## Structs
704692

0 commit comments

Comments
 (0)