Skip to content

Commit f5c95de

Browse files
committed
docs: Edit the into bullets
1 parent 035cfcb commit f5c95de

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

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)