Skip to content

Commit d42d03a

Browse files
committed
---
yaml --- r: 22367 b: refs/heads/snap-stage3 c: f5c95de h: refs/heads/master i: 22365: b63b135 22363: 2985de9 22359: 3366f85 22351: 467d50a 22335: 0f663a0 v: v3
1 parent ecf9756 commit d42d03a

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 035cfcbe7218018c1bab29a987ee1152ccd1dcf7
4+
refs/heads/snap-stage3: f5c95de212d7851c7f8788a328455ed381e38978
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/tutorial.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,17 @@ As a multi-paradigm language, Rust supports writing code in
1515
procedural, functional and object-oriented styles. Some of its
1616
pleasant high-level features include:
1717

18-
* **Pattern matching and algebraic data types (enums).** As
19-
popularized by functional languages, pattern matching on ADTs
20-
provides a compact and expressive way to encode program logic.
21-
* **Type inference.** Type annotations on local variable
22-
declarations are optional.
23-
* **Task-based concurrency.** Rust uses lightweight tasks that do
24-
not share memory.
25-
* **Higher-order functions.** Rust's efficient and flexible closures
26-
are heavily relied on to provide iteration and other control
27-
structures
28-
* **Parametric polymorphism (generics).** Functions and types can be
29-
parameterized over type variables with optional trait-based type
30-
constraints.
31-
* **Trait polymorphism.** Rust's type system features a unique
32-
combination of type classes and object-oriented interfaces.
18+
* **Type inference.** Type annotations on local variable declarations
19+
are optional.
20+
* **Safe task-based concurrency.** Rust's lightweight tasks do not share
21+
memory and communicate through messages.
22+
* **Higher-order functions.** Efficient and flexible closures provide
23+
iteration and other control structures
24+
* **Pattern matching and algebraic data types.** Pattern matching on
25+
Rust's enums is a compact and expressive way to encode program
26+
logic.
27+
* **Polymorphism.** Rust has type-parameric functions and
28+
types, type classes and OO-style interfaces.
3329

3430
## Scope
3531

0 commit comments

Comments
 (0)